/** * Status of a tracked breakpoint timeout. */ export interface TimeoutStatus { breakpointId: string; timedOut: boolean; remainingMs: number; } /** * Callback invoked when a breakpoint's timeout fires. */ export type TimeoutCallback = (breakpointId: string) => void; /** * Manages timeout tracking for in-flight breakpoints. * Fires a callback when a breakpoint's deadline is reached. */ export declare class TimeoutManager { private readonly tracked; /** * Register a timeout for a breakpoint. * If the breakpoint is already tracked, the existing timeout is replaced. */ trackBreakpoint(breakpointId: string, timeoutMs: number, onTimeout: TimeoutCallback): void; /** * Cancel timeout tracking for a breakpoint. * Returns true if the breakpoint was being tracked. */ cancelTracking(breakpointId: string): boolean; /** * Get the timeout status for a breakpoint. * Returns undefined if the breakpoint is not being tracked. */ getStatus(breakpointId: string): TimeoutStatus | undefined; /** * Check if a specific breakpoint has timed out. */ isTimedOut(breakpointId: string): boolean; /** * Get all currently tracked breakpoint IDs. */ getTrackedIds(): string[]; /** * Clear all timeouts and release resources. */ dispose(): void; } //# sourceMappingURL=timeout-manager.d.ts.map