import { type CallbackAttemptOutcome, type CallbackTransportContextV1, type CallbackTransportDeliverInput } from "./callback-transport.js"; import type { CodexNativeStateRepository, CodexNativeTaskRecord } from "./codex-native-state-store.js"; export interface NativeOutboxDependencies { repository: CodexNativeStateRepository; deliver?(input: CallbackTransportDeliverInput): CallbackAttemptOutcome | Promise; resolveCallbackContext?(task: CodexNativeTaskRecord): CallbackTransportContextV1 | undefined; now?(): Date; randomUUID?(): string; deliveryLeaseMs?: number; retryDelayMs?: number; maxDeliveryAttempts?: number; } /** Lease and durable checkpoint semantics are shared with the other AKK transports. */ export declare function createNativeNotificationOutbox(deps: NativeOutboxDependencies): { deliverPending(id: string, notificationId?: string): Promise; };