import type { ParsedDraft, ParsedDraftSuccess, PromotedDraft } from "./types.js"; export declare const REGION_FORMAT = "A column-zero ATX heading whose final content is the exact marker comment, followed by its source region until the next same-or-higher heading."; /** Parse a draft into a validated, source-preserving promotion input. */ export declare function parseDraft(source: string, sourcePath?: string): ParsedDraft; /** Serialize only the successful parse branch; malformed drafts have no output state. */ export declare function promoteDraft(parsed: ParsedDraftSuccess): PromotedDraft; export declare function recoverCriteriaFromPromotedSource(specSource: string): string;