import type { EmbeddedTranscriptRuntime } from '../agent/embedded/transcript-runtime.js'; export interface ResumableBrowserSubagentEntry { resumeId: string; parentConversationId?: string; workspace: string; transcriptRuntime: EmbeddedTranscriptRuntime; browserSessionId?: string; lastUrl?: string; updatedAt: number; } /** * Bounded in-memory registry of idle Browser Subagent sessions so the parent * agent can resume the same open browser tab and transcript (e.g. after user * login/CAPTCHA/payment takeover or for close follow-up actions). */ export declare class BrowserSubagentRegistry { private readonly maxEntries; private readonly ttlMs; private readonly now; private readonly entries; constructor(maxEntries?: number, ttlMs?: number, now?: () => number); save(entry: Omit): ResumableBrowserSubagentEntry; get(resumeId: string, parentConversationId?: string): ResumableBrowserSubagentEntry | undefined; delete(resumeId: string): boolean; clear(): void; size(): number; private pruneExpired; } export declare const browserSubagentRegistry: BrowserSubagentRegistry;