import type { TemplateMetadata } from '../../types.js'; export declare const getDirName: (fileUrl: string) => string; export declare function getDefaultTemplateName(templateMetadata: TemplateMetadata): string; export declare const pathExists: (folderPath: string) => Promise; export declare const filePathExists: (filePath: string) => Promise; export declare function ensureFileFolderExists(filePath: string): Promise; /** * @desc Creates a directory in the path given if it not exists. * It works recursively. * @param directoryPath */ export declare const createDirectoryIfNotExists: (directoryPath: string) => void; /** * @desc copies the content provided in a destination. * @param destination * @param content * @param fileName */ export declare const copyContentInDestination: ({ destination, content, fileName, }: { destination: string; content: string; fileName: string; }) => Promise; export declare const getDirectories: (sourcePath: string) => string[]; export declare const getFiles: (sourcePath: string) => string[]; export declare const getFileContents: (sourcePath: string) => string; /** * @desc copies all the content from source to destination * @param source * @param destination */ export declare const copyDirectory: (source: string, destination: string) => void; export declare const SRC_FOLDER: string; export declare const NEW_TEMPLATES_PATH: string; export declare const GENERATED_COMPONENTS_PATHS: string; export declare const GENERATED_TEMPLATES_PATHS: string; export declare const STYLED_COMPONENTS_SOURCE: string; export declare const TAILWIND_COMPONENTS_SOURCE: string; export declare const COMPONENTS_CACHE_FOLDER: string;