import type { CborAPI, JsAPI, StandardWallet as StandardWalletApi, Wallet as WalletApi } from "../../dappConnector"; import { PreTimeout } from './timeout'; export declare enum WalletApiVendor { TYPHON = "typhon", YOROI = "yoroi", ETERNL = "eternl", WALLET_CONNECT = "wc", NUFI_SSO = "nufiSSO", NUFI_META_MASK_SNAP = "nufiMetaMaskSnap" } /** * A thin wrapper around a standardized {@link WalletApi} that adds the method {@link enableJs} * which returns a compatibility layer between the wallet's {@link CborAPI} and our {@link JsAPI}. */ export declare class CborToJsApiWalletConnector implements WalletApi { private wallet; readonly experimental: { readonly feeAddress: string | undefined; }; private cachedCborApiPromise?; private readonly config; constructor(wallet: StandardWalletApi, options: CborToJsApiWalletConnectorOptions); get icon(): string; get name(): string; get apiVersion(): string; get vendor(): WalletApiVendor | null; enable(): Promise; enableJs(): Promise; isEnabled(): Promise; invalidateCache(): void; } export type CborToJsApiWalletConnectorOptions = { vendor: WalletApiVendor.TYPHON | WalletApiVendor.YOROI | WalletApiVendor.NUFI_SSO | WalletApiVendor.NUFI_META_MASK_SNAP | null; } | { vendor: WalletApiVendor.ETERNL; cacheTtl: number; } | { vendor: WalletApiVendor.WALLET_CONNECT; apiTimeoutMs: number; apiPreTimeout?: PreTimeout; }; //# sourceMappingURL=CborToJsApiWalletConnector.d.ts.map