import type { BackendDriver, DriverSession, StartDriverSessionInput } from './drivers/driver.js'; import type { SupenDriverOutput, SupenThread, SupenTurn } from './types.js'; import type { MemorySubsystem } from './memory/subsystem.js'; export type ThreadManagerInput = StartDriverSessionInput & { driverId?: string; }; export type ThreadManagerTurnInput = Omit & { thread: SupenThread; turn: SupenTurn; }; export declare class ThreadManager { private readonly drivers; private readonly memorySubsystem; private readonly defaultDriverId; readonly defaultDriverSelectionReason: 'preferred-cli' | 'codex-fallback'; constructor(drivers?: Record, defaultDriverId?: string, memorySubsystem?: MemorySubsystem | null); createThread(input: ThreadManagerInput): Promise; createThreadForTurn(input: ThreadManagerTurnInput): Promise; normalizeOutput(input: { driverId?: string; threadId: string; turnId: string; output: Record; }): SupenDriverOutput[]; resolveDriverId(driverId?: string): string; getMemorySubsystem(): MemorySubsystem | null; } //# sourceMappingURL=thread-manager.d.ts.map