import { NavigationTree, DocItem } from '../types.js'; import 'zod'; declare class ParserError extends Error { filePath?: string | undefined; constructor(message: string, filePath?: string | undefined); } interface ParseOptions { basePath?: string; validateFiles?: boolean; autoDiscover?: boolean; } declare function parseIndexFile(filePath: string): DocItem[]; declare function buildNavigationTree(contentPath: string, options?: ParseOptions): NavigationTree; declare function validateContentStructure(contentPath: string, options?: ParseOptions): void; export { type ParseOptions, ParserError, buildNavigationTree, parseIndexFile, validateContentStructure };