import { InjectConnector } from "./InjectConnector"; import { OpenAppLinkType, ResponseSuccess, SessionTypes, UniversalAccountItem } from "../protocol"; import { EngineConnectInfo } from "../connect"; import { ThirdpartInjectProvider, ThirdpartInjectWallet } from "../inject/types/IInjectProvider"; export declare class ThirdpartInjectConnector extends InjectConnector { getType(): number; constructor(thirdpartInjectWallet: ThirdpartInjectWallet); registerWallet(nameSpace: string, wallet: ThirdpartInjectProvider): void; getTag(): string; protected getWalletVersion(): Promise; openWallet(engineConnectInfo?: EngineConnectInfo, openAppLinkType?: OpenAppLinkType): Promise; protected getResponseByConnect(provider: ThirdpartInjectProvider): Promise; getAccount(provider: ThirdpartInjectProvider): Promise; disconnect(): Promise; protected onDisconnect(): void; restoreconnect(sessionInfo: SessionTypes.Struct, onConnectResult: (session: (SessionTypes.Struct | null)) => void): void; protected checkAccountChanged(nameSpace: string, newAddress: string | undefined): Promise; protected addListener(nameSpace: string): void; supportNamespaceAndChains(nameSpace: string, chains: string[]): boolean; }