import type { DeviceDescriptor } from './types'; type Orientation = 'portrait' | 'landscape'; declare global { namespace Cypress { interface Chainable { /** * Emulate a device by name (see `devices` catalog) or a custom DeviceDescriptor. * Sets viewport, devicePixelRatio, the mobile flag (so hover/pointer media * queries flip correctly), touch support, user agent, and screen orientation. */ emulate(device: string | DeviceDescriptor): Chainable; /** * Rotate the currently emulated device to `'portrait'` or `'landscape'`, * firing a real `orientationchange` event and updating `screen.orientation` * — not just resizing the viewport. Requires `cy.emulate()` to have been * called first in the same test. For a named catalog device, uses that * device's real landscape/portrait counterpart from `devices` (not a naive * width/height swap) whenever one exists; for a custom descriptor, swaps * width/height since there's no catalog entry to look up. */ rotate(orientation: Orientation): Chainable; /** * Clear all emulation overrides and restore the configured desktop viewport. * Called automatically after every test unless auto-reset is disabled — see README. */ resetEmulation(): Chainable; } } } export declare function assertChromiumFamily(command: string): void; export {}; //# sourceMappingURL=commands.d.ts.map