type AgentRunSnapshot = {
    runId: string;
    status: "ok" | "error" | "timeout";
    startedAt?: number;
    endedAt?: number;
    error?: string;
    ts: number;
};
export declare function waitForAgentJob(params: {
    runId: string;
    timeoutMs: number;
}): Promise<AgentRunSnapshot | null>;
/**
 * Returns true if any active agent run is associated with the given sessionKey.
 * Used by parallel session logic to detect when a session is currently busy.
 */
export declare function isSessionKeyBusy(sessionKey: string): boolean;
export {};
