import type { TaskRetryResult } from '@xopcai/gateway-contract'; import type { ConnectionRecoveryService } from '../connectors/connection-recovery-service.js'; export type TaskRetryInput = { taskId: string; idempotencyKey: string; expectedRunId?: string; conversationId?: string; }; /** Recheck a saved authorization wait, or create one new attempt of the latest failed run. */ export declare function retryTask(input: TaskRetryInput, deps: { connectionRecovery: Pick; wake: () => void; }): Promise;