export type SsotForm = "comment" | "visible" | "legacy"; export interface SsotEntry { summary: string; form: SsotForm; } type SsotParseResult = { status: "ok"; entry: SsotEntry; } | { status: "none"; } | { status: "dual"; forms: SsotForm[]; } | { status: "malformed"; detail: string; }; /** @deprecated Prefer parseSsot — presence-only legacy check. */ export declare const SOURCE_OF_TRUTH_BANNER_RE: RegExp; export declare const SOURCE_OF_TRUTH_BANNER_LINE_RE: RegExp; /** * Parse SSOT from markdown. Opt-in: `none` is valid (file not in catalog). * Dual encodings (comment + visible, etc.) or empty payloads are errors. */ export declare function parseSsot(content: string): SsotParseResult; /** Rewrite a legacy banner to the preferred HTML comment form. */ export declare function rewriteLegacySsotToComment(content: string): string | null; export {};