@mintlify/previewing
Version:
Preview Mintlify docs locally
6 lines (5 loc) • 440 B
TypeScript
export declare const getFileExtension: (filename: string) => string;
export declare const isFileSizeValid: (path: string, maxFileSizeInMb: number) => Promise<boolean>;
export declare function isError(obj: unknown): boolean;
export declare const readJsonFile: (path: string) => Promise<any>;
export declare const shouldRegenerateNavForPage: (filename: string, contentStr: string, frontmatterHashes: Map<string, string>) => Promise<boolean>;