import { type Page } from '@playwright/test'; export interface HorizontalOverflowState { overflow: boolean; scrollWidth: number; clientWidth: number; offenders: Array<{ tag: string; id: string; cls: string; right: number; }>; } export declare function getHorizontalOverflowState(): HorizontalOverflowState; export declare function assertNoHorizontalScroll(page: Page): Promise;