/**
 * Shared "errors don't tear things down" reporter for WS subscriptions.
 *
 * Routes errors to the user handler with a labeled `console.error` fallback;
 * if the user handler itself throws, it's swallowed after one fallback log
 * attempt — a buggy `onError` can't tear down its host.
 */
export interface WsErrorReporter {
    reportError(error: unknown): void;
}
export declare function makeWsErrorReporter(prefix: string, userOnError?: (error: unknown) => void): WsErrorReporter;
//# sourceMappingURL=wsErrorReporter.d.ts.map