import type { DevtoolsEvent, DevtoolsEventPayloads } from "./event-types";
export declare function receive<T extends DevtoolsEvent>(ws: WebSocket, event: T, callback: (payload: DevtoolsEventPayloads[T]) => void): () => void;
//# sourceMappingURL=receive.d.ts.map