import type { customDirectives } from "../common/types"; import type { TemplateSet } from "../runtime/template_set"; import type { BDom } from "../runtime/blockdom"; import { Config } from "./code_generator"; export declare type Template = (context: any, vnode: any, key?: string) => BDom; export declare type TemplateFunction = (app: TemplateSet, bdom: any, helpers: any) => Template; interface CompileOptions extends Config { name?: string; customDirectives?: customDirectives; hasGlobalValues: boolean; } export declare function compile(template: string | Element, options?: CompileOptions): TemplateFunction; export {};