import type { Pusher, PushOptions, Subscription } from "./pusher.js"; /** One message a test pushed. */ export interface Pushed { subscription: Subscription; payload: string; opts: PushOptions; } /** Remembers what it was asked to push, and refuses the endpoints a test says are gone. */ export declare class FakePusher implements Pusher { readonly pushed: Pushed[]; /** Endpoints it answers 410 for, as a push service does once a browser unsubscribes. */ readonly gone: Set; push(subscription: Subscription, payload: string, opts?: PushOptions): Promise; }