export type AgentRunStatusRead = { ok: true; status: string; active: boolean; runId?: string; turnId?: string; terminalReason?: string; /** A truncated run whose continuation the server has not started yet. */ awaitingRedispatch?: boolean; } | { ok: false; }; /** Reads a thread's active run or the durable terminal state for a known run. */ export declare function readAgentRunStatus(input: { threadId: string; runId?: string; }): Promise;