import type { Session, SessionEvent } from '@deepseek-ai/dsh-session'; import type { ExecutionRun } from './domain.js'; export declare const MAX_BACKGROUND_RETRIES = 2; export type BackgroundRetryMode = 'resume' | 'images' | 'manifest'; export declare function retryMode(reason: string): BackgroundRetryMode | undefined; /** The loaded host image-offload projection retains original records and files. */ export declare function offloadBackgroundImages(session: Session): boolean; /** Adopt a correction from the same route only if it matches a unique live objective. */ export declare function backgroundFollowup(runs: readonly ExecutionRun[], label: string, input: string, events: readonly SessionEvent[], inputId: string): ExecutionRun | undefined; //# sourceMappingURL=background-retry.d.ts.map