import type { CollectionPopulationRequestHandler } from './types.js'; export declare const subscribe: >(args: { apiRoute?: string; callback: (data: T) => void; depth?: number; initialData: T; requestHandler?: CollectionPopulationRequestHandler; serverURL: string; }) => ((event: MessageEvent) => Promise | void); //# sourceMappingURL=subscribe.d.ts.map