import { HtmlTemplate } from './htmlTemplate'; import type { CompilerOptions } from './createCompile'; import type { PluginOption } from 'vite'; export interface ViteViewOptions { publishFileName?: string; viewWrapper?: (opts: { styleId?: string; production: boolean; viewPath: string; providerFunctions: string; shadowDOM?: boolean | 'open' | 'closed'; }) => string; plugins?: PluginOption[]; externals?: Array<{ name: 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; }; imports: Record; bundle: { hashKey: string; }; }) => void) => void; export default _default;