UNPKG

470 BTypeScriptView Raw
1import { Config } from '../commands/args';
2export declare type tagsTemplate = (type: string) => string;
3export declare const htmlTemplate: (indexHtml: string | undefined) => Promise<(args: any) => string>;
4interface ParseHtmlParams {
5 config: Config;
6 ctx: Record<string, any>;
7 dev: boolean;
8 template: (props: Record<string, any>) => string;
9}
10export declare const parseHtml: ({ config, ctx, dev, template }: ParseHtmlParams) => any;
11export {};