import type { BrowserContext } from 'playwright-core'; export declare function normalizeProtocol(protocol: string): string; export declare function getAllowedProtocols(rawValue?: string | undefined): Set; export declare function resolveAndAssertAllowedUrl(rawUrl: string, baseUrl?: string, allowedProtocols?: Set): string; export declare function isAllowedNavigationUrl(rawUrl: string, allowedProtocols?: Set): boolean; export declare function installProtocolGuard(context: BrowserContext, allowedProtocols?: Set): Promise;