export interface BrowserConfig {
    headless?: boolean | 'new';
    defaultViewport?: {
        width: number;
        height: number;
        deviceScaleFactor?: number;
        isMobile?: boolean;
        hasTouch?: boolean;
        isLandscape?: boolean;
    } | null;
    slowMo?: number;
    userAgent?: string;
    timeout?: number;
    ignoreHTTPSErrors?: boolean;
    args?: string[];
}
export declare function getBrowserConfig(): BrowserConfig;
export declare function isAllowedDomain(url: string): boolean;
export declare function sanitizeScript(script: string): string;
export declare function withTimeout<T>(promise: Promise<T>, timeoutMs: number, operation: string): Promise<T>;
