import type { CDPCookie } from '../../../service-bubble/browserbase/index.js';
import type { ProxyChoice } from './schema.js';
export interface BrowserSessionData {
    contextId: string;
    cookies: CDPCookie[];
}
/**
 * Parse browser session credential (base64 JSON) to contextId + cookies
 */
export declare function parseBrowserSessionData(credential: string | undefined): BrowserSessionData | null;
/**
 * Build proxy configuration for BrowserBase from ProxyChoice
 */
export declare function buildProxyConfig(proxy: ProxyChoice | undefined): {
    proxies?: true | Array<{
        type: 'external';
        server: string;
        username?: string;
        password?: string;
    }>;
};
//# sourceMappingURL=utils.d.ts.map