import type { DocumentStatus } from "../types/invoice.js"; /** Wait-semantics family of a status (spec parente §3.12 — orthogonal to its §8.1 position). */ export type StatusFamily = "progress" | "terminal-success" | "terminal-failure" | "fallback"; export interface StatusPrecedenceEntry { status: DocumentStatus; family: StatusFamily; } /** * The §8.1 synthesis precedence as DATA — index 0 = most final. `waitFor()` * derives its terminal sets from the `family` column instead of a hard-coded * list (§8.7). The console locks this table against its own `synthesize()` * branch order, so a drift between packages fails CI, not production. */ export declare const STATUS_PRECEDENCE: readonly StatusPrecedenceEntry[]; export declare function statusFamily(status: DocumentStatus): StatusFamily; /** Derived — never hard-code this list again (§8.7). */ export declare const TERMINAL_FAILURE_STATUSES: readonly DocumentStatus[]; //# sourceMappingURL=status-precedence.d.ts.map