import { Web3PluginBase } from 'web3-core'; import { Web3Context } from './reexported_web3_context'; import { Web3Middleware } from './request_manager_middleware'; declare type CustomRpcApi = { custom_rpc_method: () => string; custom_rpc_method_with_parameters: (parameter1: string, parameter2: number) => string; }; export declare class CustomRpcMethodsPlugin extends Web3PluginBase { pluginNamespace: string; web3Middleware: Web3Middleware | undefined; constructor(testMiddleware?: boolean); link(parentContext: Web3Context): void; customRpcMethod(): Promise; customRpcMethodWithParameters(parameter1: string, parameter2: number): Promise; } declare module './reexported_web3_context' { interface Web3Context { customRpcMethods: CustomRpcMethodsPlugin; } } export { Web3Context }; //# sourceMappingURL=custom_rpc_methods.d.ts.map