import { RpcWebSocketClient } from './rpc';
export interface OpenDBClient {
    endpoint: string;
    isConnected: boolean;
    connect(): Promise<void>;
    call(method: string, params?: any): any;
}
export default class RPCClient implements OpenDBClient {
    endpoint: string;
    isConnected: boolean;
    rpc: RpcWebSocketClient;
    private debug;
    constructor(endpoint: any);
    connect(): Promise<void>;
    call(method: string, params?: unknown): Promise<unknown>;
    private reconnect;
}
