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