import handlebars from 'handlebars'; import { ITree } from '../../Bulldog'; import { Processor } from '../../Processor'; import { Process } from '../Process'; /** * Options to customise HandlebarsPlugin */ export interface IHandlebarsOptions { /** * Data to be processed by handlebars */ data?: handlebars.TemplateDelegate; /** * Options to customise how handlebars generates the output */ options?: handlebars.RuntimeOptions; } /** * Generates html files from handlebar files */ export declare class Handlebars extends Process { /** * @param options - Options to customise handlebars and data to be processed. */ constructor(options?: IHandlebarsOptions); /** * Tests if file extension is valid. * @override * @returns If file extension is valid for handlebars. */ test(tree: ITree): boolean; /** * Takes the trees handlebars file and converts it to a html file after using handlebars. * @override */ transform(tree: ITree, processor: Processor): Promise; } //# sourceMappingURL=Handlebars.d.ts.map