/**
 * Documentation Parser Utility
 *
 * Parses markdown files with gray-matter frontmatter and converts to HTML
 * using remark. Provides utilities for extracting metadata from file names.
 */
export { extractOrderFromFilename, cleanFilename, slugToTitle } from './utils';
/**
 * Metadata extracted from frontmatter
 */
export interface DocMetadata {
    title: string;
    description?: string;
    order?: number;
    public?: boolean;
}
/**
 * Parsed documentation page
 */
export interface DocPage {
    slug: string;
    title: string;
    content: string;
    metadata: DocMetadata;
    path: string;
    source: 'core' | 'theme';
}
/**
 * Documentation section (folder)
 */
export interface DocSection {
    title: string;
    slug: string;
    order: number;
    pages: DocPage[];
    children?: DocSection[];
}
/**
 * Parse a markdown file with frontmatter and convert to HTML
 *
 * @param filePath - Absolute path to markdown file
 * @returns Parsed metadata, raw content, and HTML
 */
export declare function parseMarkdownFile(filePath: string): Promise<{
    metadata: DocMetadata;
    content: string;
    html: string;
}>;
//# sourceMappingURL=parser.d.ts.map