import { JsonRpcResponsePayload } from '@haechi-labs/face-types'; import { Internal } from './Internal'; export interface RequestArguments { method: string; params?: any; [key: string]: any; } declare class ProviderTemplate { sendAsync: (r: any, c: (e: any, r: any) => void) => undefined; } export declare class Provider extends ProviderTemplate { private readonly internal; constructor(internal: Internal); request(request: RequestArguments | RequestArguments[]): Promise; on(eventName: string | symbol, listener: (...args: any[]) => void): this; emit(eventName: string, ...args: any[]): boolean; removeListener(eventName: string | symbol, listener: (...args: any[]) => void): this; off(event: string | symbol, listener: (...args: any[]) => void): this; } export {}; //# sourceMappingURL=Provider.d.ts.map