import type { InternalContext, NormalizedEnvironmentConfig, RsbuildPlugin } from '../types/index.js';
export declare function getTemplate(entryName: string, config: NormalizedEnvironmentConfig, rootPath: string): Promise<{
    templatePath: string;
    templateContent?: string;
} | {
    templatePath: undefined;
    templateContent: string;
}>;
export declare const pluginHtml: (context: InternalContext) => RsbuildPlugin;
