import { authorizationsFrom, dispatchedUnderFrom, openAttemptsFrom, type ExecutionJournal, type JournalRecord, type JournalRecordKind } from "./ExecutionJournal.js"; /** * A journal that keeps its records in memory. It is honest about what it is: * nothing survives the process, so a deployment that needs an attempt to * outlive a restart configures `EXECUTOR_JOURNAL_DIR` and gets the file * journal. This exists for shadow mode, for the offline proof, and for tests. */ export declare class InMemoryExecutionJournal implements ExecutionJournal { private readonly records; private failure; private failingKind; /** Makes the next append throw; for the tests that prove a claim is never lost. */ failNextAppend(code?: string): void; /** Makes every append of one kind throw, until cleared with null. */ failEvery(kind: JournalRecordKind | null, code?: string): void; /** Forgets every record, as a fresh process would; the failures stay as set. */ clear(): void; get all(): readonly JournalRecord[]; append(record: JournalRecord): Promise; openAttempts(): Promise>; authorizationsOf(intentId: string): Promise>; dispatchedUnder(idempotencyKey: string): Promise>; close(): void; } //# sourceMappingURL=InMemoryExecutionJournal.d.ts.map