import type { Page } from "playwright";
/**
 * Device presets for mobile/responsive testing.
 */
export declare const DEVICE_PRESETS: Record<string, {
    viewport: {
        width: number;
        height: number;
    };
    userAgent: string;
    deviceScaleFactor?: number;
}>;
export type DevicePreset = keyof typeof DEVICE_PRESETS;
/**
 * Resize the browser viewport to a specific device preset.
 */
export declare function setDevicePreset(page: Page, deviceName: string): Promise<void>;
/**
 * Resize the viewport to custom dimensions.
 */
export declare function setViewport(page: Page, width: number, height: number): Promise<void>;
/**
 * Capture screenshots at multiple breakpoints for responsive testing.
 */
export declare function captureResponsiveScreenshots(page: Page, breakpoints: {
    name: string;
    width: number;
    height: number;
}[]): Promise<Array<{
    name: string;
    width: number;
    height: number;
    screenshot: Buffer;
}>>;
/**
 * Check if the current viewport is mobile (width < 768).
 */
export declare function isMobileViewport(page: Page): boolean;
/**
 * Get a list of all available device preset names.
 */
export declare function listDevicePresets(): string[];
//# sourceMappingURL=responsive.d.ts.map