import { HtmlTemplate } from './htmlTemplate';
import type { CompilerOptions } from './createCompile';
import type { PluginOption } from 'vite';
export interface ViteViewOptions {
publishFileName?: string;
viewWrapper?: (opts: {
viewPath: string;
production: boolean;
providerFunctions: string;
}) => string;
plugins?: PluginOption[];
externals?: Array<{
name: string;
global?: string;
paths?: string[];
}>;
htmlTemplate?: (opts: HtmlTemplate) => void;
}
declare const _default: (arg1: ViteViewOptions & CompilerOptions, callback: (err: NodeJS.ErrnoException, result: {
template: {
type: string;
hashKey: string;
src: string;
};
bundle: {
hashKey: string;
};
}) => void) => void;
export default _default;