import { Express } from 'express'; import { SocketParams } from '../Logger'; import { WalletWrapper } from './wrapper'; /** * Leverages `JsonRpcEngine` to intercept account-related calls, and pass any other calls down to a destination * provider, e.g. Infura. */ export declare class WalletMiddlewareServer { expressServer: Express; rpcMethodHandlers: { [K: string]: any; }; totalRequests: number; wrapper: WalletWrapper; constructor(rpcUrl: string, graphUrl: string, seedPhrase: string, numAddresses: number); /** * Initializes the Express server, configures CORS, and passes requests back and forth between the Express server and * the `JsonRpcEngine`. */ initialize(): this; /** * Tells the Express server to start listening. */ listen(port: number, hostname?: string): Promise; /** * Verbosely log incoming parameters. */ traceParams(params: any[], socket: SocketParams): any[]; } //# sourceMappingURL=server.d.ts.map