import type { Entrypoint, HtmlPartials, HtmlTemplates } from '@modern-js/types';
import type { AppNormalizedConfig } from '../../types';
import type { AppToolsContext, AppToolsHooks } from '../../types/plugin';
export declare const getModifyHtmlPartials: (partials: Record) => {
top: {
append: (...script: string[]) => void;
prepend: (...script: string[]) => void;
current: string[];
};
head: {
append: (...script: string[]) => void;
prepend: (...script: string[]) => void;
current: string[];
};
body: {
append: (...script: string[]) => void;
prepend: (...script: string[]) => void;
current: string[];
};
};
export declare const getHtmlTemplate: (entrypoints: Entrypoint[], hooks: AppToolsHooks, { appContext, config, }: {
appContext: AppToolsContext;
config: AppNormalizedConfig;
}) => Promise<{
partialsByEntrypoint: Record;
htmlTemplates: HtmlTemplates;
}>;