@helldoc/core
Version:
helldoc core
11 lines (10 loc) • 468 B
TypeScript
export declare function createTemp(customTempPath?: string): {
writeTemp: (file: string, content: import("gray-matter").Input) => Promise<string>;
tempPath: string;
genTempRuntime: () => Promise<string>;
};
export declare function isIndexFile(file: string): boolean;
export declare function toComponentName(file: string): string;
declare type ModuleItem = [string, string];
export declare function toModuleMap(files: Array<ModuleItem>): string;
export {};