import { FileParserOptions, posthtml } from '@morjs/utils'; export declare type PostHtmlCustomPlugin = (tree: posthtml.Node, options: FileParserOptions) => ReturnType> | Promise>>; export declare function templateTransformer(fileContent: string, options: FileParserOptions, singleTags: string[], closingSingleTag?: '' | 'slash' | 'tag', parser?: PostHtmlCustomPlugin, customTemplateRender?: (tree?: any, options?: any) => string): Promise;