import { GetInfo } from './createCompile'; import { ViteViewOptions } from './viteView'; import type { PluginOption } from 'vite'; export default function createCompile(params: { plugins?: PluginOption[]; viewWrapper?: ViteViewOptions['viewWrapper']; htmlTemplate?: ViteViewOptions['htmlTemplate']; getInfo: GetInfo; }): (options: import("./createCompile").CompilerOptions, callback: (err: Error | null, data: any) => void) => void;