import type { BackgroundTask } from "./types"; import type { ConcurrencyManager } from "./concurrency"; import type { OpencodeClient, QueueItem } from "./constants"; export declare function tryFallbackRetry(args: { task: BackgroundTask; errorInfo: { name?: string; message?: string; }; source: string; concurrencyManager: ConcurrencyManager; client: OpencodeClient; idleDeferralTimers: Map>; queuesByKey: Map; processKey: (key: string) => void; }): boolean;