import { DocItemContext } from './site'; export declare type PropertyGetter = (ctx: DocItemContext, original?: unknown) => unknown; export declare type Properties = Record; export interface Templates { partials?: Record string>; helpers?: Record string>; properties?: Record; } /** * Loads the templates that will be used for rendering a site based on a * default theme and user templates. * * The result contains all partials, helpers, and property getters defined in * the user templates and the default theme, where the user's take precedence * if there is a clash. Additionally, all theme partials and helpers are * included with the theme prefix, e.g. `markdown/contract` will be a partial. */ export declare function loadTemplates(defaultTheme: string, root: string, userTemplatesPath?: string): Promise; /** * Read templates and helpers from a directory. */ export declare function readTemplates(partialsDir: string, helpersDir?: string): Promise>; //# sourceMappingURL=templates.d.ts.map