/**
 * @license
 * Copyright 2025 Steven Roussey <sroussey@gmail.com>
 * SPDX-License-Identifier: Apache-2.0
 */
import type { IBrowserContext } from "./IBrowserContext";
export declare const BrowserSessionRegistry: {
    /**
     * Register a browser context and return a unique session ID.
     */
    register(context: IBrowserContext): string;
    /**
     * Retrieve a registered browser context by session ID.
     * Throws if the session does not exist or has been disconnected.
     */
    get(sessionId: string): IBrowserContext;
    /**
     * Remove a session from the registry.
     */
    unregister(sessionId: string): void;
    /**
     * Returns true if a session with the given ID exists.
     */
    has(sessionId: string): boolean;
    /**
     * Disconnect all registered contexts using Promise.allSettled, then clear the registry.
     */
    disconnectAll(): Promise<void>;
    /**
     * Clear all sessions without disconnecting (for tests).
     */
    clear(): void;
};
//# sourceMappingURL=BrowserSessionRegistry.d.ts.map