import type { PollerEnvironment } from '../../../ui/poller.js'; /** A tab with a clock that the test moves, and a visibility it switches. */ export declare class FakeTab implements PollerEnvironment { /** The clock of the tab, in milliseconds. */ time: number; now(): number; visible: boolean; private timers; private next; private listeners; setTimer(run: () => void, ms: number): number; clearTimer(handle: unknown): void; isVisible(): boolean; onVisibilityChange(listener: () => void): () => boolean; setVisible(visible: boolean): void; /** The wait of the one timer that is set, or null. */ get waiting(): number | null; get timerCount(): number; get listenerCount(): number; /** Moves the clock and runs the timers that are due, then lets the answers settle. */ advance(ms: number): Promise; } export declare const settle: () => Promise;