import type { SrpcStream } from '../srpc/types';
import type { DevConsoleStore } from './devconsole.store';
export interface SrpcMessageObserver {
    onInboundMessage?(stream: SrpcStream, messageType: string, data: Record<string, unknown>): void;
    onOutboundMessage?(stream: SrpcStream, messageType: string, data: Record<string, unknown>): void;
    onConnectionEstablished?(stream: SrpcStream): void;
    onConnectionClosed?(stream: SrpcStream, cause: string): void;
}
declare function identifyMessageType(data: Record<string, unknown>): string;
declare function sanitizeData(data: Record<string, any>): Record<string, unknown>;
export declare function createDevConsoleSrpcObserver(store: DevConsoleStore): SrpcMessageObserver;
export { identifyMessageType, sanitizeData };
export declare type __ΩSrpcMessageObserver = any[];
//# sourceMappingURL=devconsole.srpc.d.ts.map