@mintlify/previewing
Version:
Preview Mintlify docs locally
16 lines (15 loc) • 622 B
TypeScript
export declare const markOnDemandPagesReady: () => void;
export type CompileEvent = {
path: string;
active: boolean;
error?: boolean;
};
type CompileListener = (event: CompileEvent) => void;
export declare const setCompileListener: (listener: CompileListener) => void;
export declare const getFailedCompileEvents: () => CompileEvent[];
export declare const reportPageCompileSuccess: (filename: string) => void;
export declare const reportPageCompileError: (filename: string) => void;
export declare const ensurePageCompiled: (pathname: string, options?: {
silent?: boolean;
}) => Promise<void>;
export {};