export declare const parseMdx: (file: string, plugins: any[]) => Promise; export interface Heading { depth: number; slug: string; value: string; } export declare const headingsFromAst: (ast: any) => Heading[]; export interface ParsedData { [key: string]: any; } export declare const getParsedData: (ast: any) => ParsedData;