/** * Internal, finding-free building blocks for `format-md-compact.ts`. * * Split verbatim from the main module for the file-size cap campaign; the * public surface (`formatMdCompact` / `FormatMdCompactOptions`) is re-exported * from `format-md-compact.ts`, so importers keep pointing at the same path. * This module is imported by both `src/` and `packages/` through that path. */ export declare const FENCE_MARKER_RE: RegExp; export declare const TABLE_ROW_RE: RegExp; export declare const TABLE_ALIGN_ROW_RE: RegExp; export declare const ATX_HEADING_RE: RegExp; export declare const HEADING_LINE_RE: RegExp; export declare const SETEXT_UNDERLINE_RE: RegExp; export interface ParsedFrontmatter { raw: string; description: string | null; body: string; } export declare function splitFrontmatter(input: string): ParsedFrontmatter; export declare function isFenceOpenLine(line: string): boolean; export declare function isFenceCloseLine(line: string, insideFence: boolean): boolean; export declare function isTableLine(line: string): boolean; export declare function computeSetextUnderlines(lines: string[]): Set; export declare function isDecorativeHorizontalRule(line: string): boolean; export declare function collapseMultiBlanks(lines: string[]): string[];