import { type Conversation } from "./protocol.js"; import type { TerminalControlRef } from "./terminal-agent-adapter.js"; import type { TerminalAgentBridge, TerminalCodexComposerObservation } from "./terminal-agent-bridge.js"; import { type TerminalSubmissionRetryDecision, type TerminalSubmissionRetryRecord } from "./terminal-submission-retry-service.js"; import type { CanonicalStateMutationResources, CanonicalStateMutationScopes } from "./mutation-transaction.js"; import type { TerminalDispatchLedgerDocument } from "./terminal-dispatch-ledger-codec.js"; import type { TerminalDispatchExecutionService } from "./terminal-dispatch-execution.js"; import type { TerminalCommandCliOptions, TerminalDispatchRecord } from "./terminal-command-cli-ports.js"; import { TerminalSubmissionRetryReconciliation, type TerminalSubmissionRetryDeferredContext } from "./terminal-submission-retry-reconciliation.js"; import type { TerminalSubmissionRetryTransportPorts } from "./terminal-submission-retry-ports.js"; export declare class TerminalSubmissionRetryTransport { private readonly ports; private readonly reconciliation; constructor(ports: TerminalSubmissionRetryTransportPorts, reconciliation: TerminalSubmissionRetryReconciliation); runTerminalSubmissionExactDraftEnter(input: { options: TerminalCommandCliOptions; bridge: TerminalAgentBridge; execution: TerminalDispatchExecutionService; conversation: Conversation; submission: TerminalDispatchRecord; ledger: TerminalDispatchLedgerDocument; requestText: string; requestHash: string; originalMessageId: string; activeMessageId: string; terminalControl: TerminalControlRef; storeDir: string; statePath: string; logPath: string; scopes: CanonicalStateMutationScopes; resources: CanonicalStateMutationResources; attempt?: TerminalSubmissionRetryRecord; deferred?: TerminalSubmissionRetryDeferredContext; }): Promise; runTerminalSubmissionReplacement(input: { options: TerminalCommandCliOptions; bridge: TerminalAgentBridge; execution: TerminalDispatchExecutionService; observation: TerminalCodexComposerObservation; decision: Extract; conversation: Conversation; submission: TerminalDispatchRecord; ledger: TerminalDispatchLedgerDocument; requestText: string; requestHash: string; originalMessageId: string; terminalControl: TerminalControlRef; storeDir: string; statePath: string; logPath: string; scopes: CanonicalStateMutationScopes; resources: CanonicalStateMutationResources; attempt?: TerminalSubmissionRetryRecord; deferred?: TerminalSubmissionRetryDeferredContext; }): Promise; }