import type { FileMap } from './file-map';
import { type TreeNode } from '../../utils/layout';
/** Whether the file extension of the given filename can be formatted as a template */
export declare function canBeFormatted(filename: string): boolean;
/** Load templates from a folder and apply data to it */
export declare function loadTemplates(options: {
    templateDir: string;
    destFolder?: string;
    data?: {
        [key: string]: string;
    };
    relativeTo?: string;
    prettierConfig?: {
        [key: string]: unknown;
    };
}): {
    files: FileMap;
    generatedFiles: TreeNode[];
};
