import { OKXUniversalConnectUI } from '@okxconnect/ui'; import { EventEmitter } from 'eventemitter3'; import { DappPortalSDKConfig } from '../../config/config'; import { RequestArguments } from '../interface'; import { ProviderHandlerInterface } from './interface'; export declare class OkxProviderHandler extends ProviderHandlerInterface { private readonly eventBus; private readonly config; private readonly universalUi; constructor(eventBus: EventEmitter, config: DappPortalSDKConfig, universalUi: OKXUniversalConnectUI); static init(eventBus: EventEmitter, config: DappPortalSDKConfig): Promise; getConnectedAddresses(): Promise; connect(): Promise; requestSign(requestArgs: RequestArguments): Promise; connectAndSign(params: unknown[] | undefined): Promise; shouldStoreConnectedAddressToStorage(): boolean; switchChain(chainId: string): Promise; disconnect(): Promise; private setOkxEventProxy; private convertToEthParam; private convertSignTypedDataV4Field; private convertInputFieldToDataField; private stripOkxAccountPrefix; }