import type { Eta } from "./core.js"; import type { Options } from "./config.js"; export type TemplateFunction = (this: Eta, data?: object, options?: Partial) => string; /** * Takes a template string and returns a template function that can be called with (data, config) * * @param str - The template string * @param config - A custom configuration object (optional) */ export declare function compile(this: Eta, str: string, options?: Partial): TemplateFunction; //# sourceMappingURL=compile.d.ts.map