import { type StackJournal, type StackRole } from "./stack-journal.js"; /** What a member's stop is proved by. `kernel-exit`: the broker's exact-exit receipt. `process-exit`: * the generic stop's own receipt that it signalled this pinned process and saw it exit, plus the * settled record and released native custody. `process`: the same without that receipt, the * strongest evidence an earlier generic stop recorded. Both generic kinds are accepted here. */ export type StackResumeEvidence = "kernel-exit" | "process-exit" | "process"; export interface StackResumeBinding { root: string; space: string; server: string; mode: StackJournal["mode"]; journalSha256: string; priorDown: string; broker: NonNullable; members: { role: StackRole; definition: string; definitionRevision: string; definitionSha256: string; instanceId: string; instanceRevision: string; instanceSha256: string; evidence: StackResumeEvidence; }[]; manager: { definition: "absent"; }; } export declare function stackResumeEligibility(rootInput: string, space: string, expected: { server: string; mode: StackJournal["mode"]; }, ownAttempt?: string): StackResumeBinding; /** Recheck under the caller's lock that every bound record is byte-identical to what the gate read. */ export declare function recheckStackResume(binding: StackResumeBinding, ownAttempt?: string): void; //# sourceMappingURL=stack-resume.d.ts.map