import { Target } from '../../cdp/index.js';
import { Configuration } from '../../config.js';
import { Logger } from '../../logger.js';
import { BrowserService } from './browser.js';
export type EmulationMode = 'disabled' | 'mobile' | 'desktop';
export declare const EMULATION_MODE: import("../../config.js").PropertyDecl<string>;
export declare class EmulationService {
    protected browser: BrowserService;
    protected config: Configuration;
    protected logger: Logger;
    mode: EmulationMode;
    constructor(browser: BrowserService, config: Configuration, logger: Logger);
    getDefaultEmulationMode(): EmulationMode;
    onSessionStart(): Promise<void>;
    isEnabled(): boolean;
    setMode(mode: EmulationMode): Promise<void>;
    applyToAllTargets(): Promise<void>;
    applyToTarget(target: Target): Promise<void>;
    getEmulationSettings(): {
        width: number;
        height: number;
        deviceScaleFactor: number;
        mobile: boolean;
        scale: number;
        screenWidth?: undefined;
        screenHeight?: undefined;
    } | {
        width: number;
        height: number;
        deviceScaleFactor: number;
        mobile: boolean;
        scale: number;
        screenWidth: number;
        screenHeight: number;
    } | {
        width?: undefined;
        height?: undefined;
        deviceScaleFactor?: undefined;
        mobile?: undefined;
        scale?: undefined;
        screenWidth?: undefined;
        screenHeight?: undefined;
    };
}
//# sourceMappingURL=emulation.d.ts.map