export interface IdentifierMeta { name: string; theme?: string; } export interface GetIdentifierType { (meta: IdentifierMeta): string; } /** * 根据 name 和 theme 生成驼峰命名 * like + Outlined -> LikeOutlined * like + Filled -> LikeFilled */ export declare const getIdentifier: GetIdentifierType; /** * 从文件路径中解析出 name 和 theme * @param {string} filepath */ export declare function getNameAndThemeFromPath(filepath: string): { name: string; theme: string; }; /** * * @param {string} filepath */ export declare function existing(filepath?: string): boolean; /** * create dir if dir don't existing. * @param filepath * @param next */ export declare function ensure(filepath: string, next?: string[]): void; /** * check the filepath is npm package name * @param filepath */ export declare function checkIsNpmPackage(filepath: string): boolean; export declare function ext(typescript?: boolean, prefix?: string, suffix?: string): string; export declare function generateTypeFiles({ output, }: { output: string; filename?: string; }): void;