interface CompileOptions {
    from?: 'eshtml' | 'html';
    to?: 'eshtml' | 'html';
    compileEsJS?: boolean;
}
declare function compile(content: string, options?: CompileOptions): string;

export { compile };
export type { CompileOptions };
