export interface DocsDiscoveryResult { flatPaths: string[]; pathMap: Map; } /** * Auto-discover markdown documentation from a docs directory. * Scans for **\/*.md files and creates a flat path mapping. * * @param docsPath - Absolute path to the docs directory * @returns Object with flatPaths array and pathMap for lookup * * @example * // Discovers docs/widgets/platform/workflows.md -> "platform-workflows" * const { flatPaths, pathMap } = await discoverDocs("/path/to/docs/widgets"); */ export declare function discoverDocs(docsPath: string): Promise; /** * Get the content of a specific documentation file. * * @param docsPath - Absolute path to the docs directory * @param toolPath - Flat path identifier (e.g., "platform-workflows") * @param pathMap - Map from flat paths to file paths * @returns Markdown content or null if not found */ export declare function getDocContent(docsPath: string, toolPath: string, pathMap: Map): Promise; //# sourceMappingURL=docsDiscovery.d.ts.map