/**
 * Shared Routes — Markdown file reading and description extraction
 *
 * Handles YAML frontmatter parsing, body-line extraction, and safe
 * bounded reads for both description snippets and full content.
 *
 * Directory walking is in shared-routes-markdown-walker.ts.
 */
/** Exported for content module which uses a larger limit. */
export declare const MAX_CONTENT_FILE_BYTES: number;
export type { MarkdownFileEntry } from './shared-routes-markdown-walker';
export { collectMarkdownFiles } from './shared-routes-markdown-walker';
export declare function extractDescription(content: string): string;
export declare function readMarkdownDescription(markdownPath: string, allowedRoots: Set<string>): string | null;
export declare function readFirstMarkdownDescription(markdownPaths: string[], allowedRoots: Set<string>): string | null;
export declare function readMarkdownContent(markdownPath: string, allowedRoots: Set<string>): string | null;
export declare function resolveReadableMarkdownPath(markdownPaths: string[], allowedRoots: Set<string>): string | null;
//# sourceMappingURL=shared-routes-markdown.d.ts.map