import type { remote } from 'webdriver'; import { ClockManager, type FakeTimerInstallOpts } from '../../clock.js'; import { type DeviceName } from '../../deviceDescriptorsSource.js'; type RestoreFunction = () => Promise; type ColorScheme = 'light' | 'dark'; type ScrollbarType = 'classic' | 'overlay'; type GeolocationEmulation = Partial | { error: 'positionUnavailable'; }; export declare function emulate(scope: 'clock', options?: FakeTimerInstallOpts): Promise; export declare function emulate(scope: 'geolocation', geolocation: GeolocationEmulation): Promise; export declare function emulate(scope: 'userAgent', userAgent: string): Promise; export declare function emulate(scope: 'device', device: DeviceName): Promise; export declare function emulate(scope: 'colorScheme', colorScheme: ColorScheme): Promise; export declare function emulate(scope: 'media', features: remote.EmulationMediaFeatures): Promise; export declare function emulate(scope: 'onLine', state: boolean): Promise; export declare function emulate(scope: 'locale', locale: string): Promise; export declare function emulate(scope: 'timezone', timezone: string): Promise; export declare function emulate(scope: 'touch', maxTouchPoints: number): Promise; export declare function emulate(scope: 'orientation', orientation: remote.EmulationScreenOrientation): Promise; export declare function emulate(scope: 'screen', screen: remote.EmulationScreenArea): Promise; export declare function emulate(scope: 'viewportMeta', viewportMeta: true): Promise; export declare function emulate(scope: 'textLayout', textLayout: 'mobile'): Promise; export declare function emulate(scope: 'scripting', enabled: false): Promise; export declare function emulate(scope: 'scrollbar', scrollbarType: ScrollbarType): Promise; export declare function emulate(scope: 'forcedColors', theme: ColorScheme): Promise; export {}; //# sourceMappingURL=emulate.d.ts.map