import { type RuntimeCommand } from '../../runtime/bridge.js'; export declare function hasRuntimeAuthority(stateDir: string): boolean; export declare function hasRuntimeDispatchIdentity(stateDir: string, requestId: string): boolean; type RuntimeFinalizationCommand = Extract; /** * The journal is append-only, so a crash can leave a torn trailing line. * Skip incomplete or non-object lines instead of letting one bad append block * every later read and reconciliation. */ export declare function parseRuntimeFinalizationJournal(raw: string): RuntimeFinalizationCommand[]; /** Load the dispatch identity ledger once into a Set for efficient batch lookups. Returns null if the ledger doesn't exist. */ export declare function loadRuntimeDispatchIdentitySet(stateDir: string): Set | null; export declare function recordRuntimeFinalization(stateDir: string, teamName: string, command: Extract): void; export declare function reconcileRuntimeFinalizations(stateDir: string, teamName: string): Promise; export {}; //# sourceMappingURL=dispatch-recovery.d.ts.map