UNPKG

@mintlify/prebuild

Version:

Helpful functions for Mintlify's prebuild step

5 lines (4 loc) 430 B
import { formatError } from '../../errorMessages/formatError.js'; export { formatError }; export declare const preparseMdx: (fileContent: string, contentDirectoryPath: string, filePath: string, onError?: (message: string) => void) => Promise<string>; export declare const preparseMdxTree: (fileContent: string, contentDirectoryPath: string, filePath: string, onError?: (message: string) => void) => Promise<import("mdast").Root>;