import * as jayson from '../../../..'; type PromiseClientBrowserCallServerFunction = (request: string) => Promise; declare class PromiseClientBrowser { constructor(callServer: PromiseClientBrowserCallServerFunction, options?: jayson.ClientOptions); request( method: string, params: jayson.RequestParamsLike, id: jayson.JSONRPCIDLike | undefined, shouldCall: false ): jayson.JSONRPCRequest; request( method: string, params: jayson.RequestParamsLike, id?: jayson.JSONRPCIDLike ): Promise; request(method: Array): Promise; } export = PromiseClientBrowser;