import { Subject } from "rxjs"; export type RpcMessage = { id: number; request?: { service: string; method: string[]; args: any[]; }; cancel?: { id: number; }; disconnect?: boolean; response?: Partial<{ data: any; error?: { code: string; message: string; stack?: string; }; completed: boolean; }>; }; export declare abstract class RpcChannel extends Subject void; connection_id?: string; }> { abstract send(message: RpcMessage): void; } //# sourceMappingURL=RpcChannel.d.ts.map