import { C as onAccountChangeCallback, S as WalletStrategyEvmOptions, _ as TurnkeySession, a as ConcreteWalletStrategy, b as WalletStrategy, c as Eip1193Provider, d as SendTransactionOptions, i as ConcreteStrategiesArg, l as MagicMetadata, m as TurnkeyMetadata, n as ConcreteCosmosWalletStrategyArgs, o as ConcreteWalletStrategyArgs, p as StrategyEmitter, r as ConcreteEvmWalletStrategyArgs, s as CosmosWalletAbstraction, t as ConcreteCosmosWalletStrategy, u as PrivateKeyMetadata, v as WalletConnectMetadata, w as onChainIdChangeCallback, x as WalletStrategyArguments, y as WalletMetadata } from "./strategy-CjnVi-ci.cjs"; //#region src/runtime-light.d.ts declare const BroadcastMode: { readonly Block: "block"; readonly Sync: "sync"; readonly Async: "async"; }; type BroadcastMode = (typeof BroadcastMode)[keyof typeof BroadcastMode]; declare const Wallet: { readonly Leap: "leap"; readonly Keplr: "keplr"; readonly Ninji: "ninji"; readonly Magic: "magic"; readonly Rabby: "rabby"; readonly Ledger: "ledger"; readonly BitGet: "BitGet"; readonly OWallet: "owallet"; readonly Phantom: "phantom"; readonly Rainbow: "rainbow"; readonly Turnkey: "turnkey"; readonly Metamask: "metamask"; readonly KeplrEvm: "keplr-evm"; readonly OkxWallet: "okx-wallet"; readonly PrivateKey: "private-key"; readonly TrustWallet: "trust-wallet"; readonly TrezorBip32: "trezor-bip32"; readonly TrezorBip44: "trezor-bip44"; readonly Cosmostation: "cosmostation"; readonly LedgerCosmos: "ledger-cosmos"; readonly LedgerLegacy: "ledger-legacy"; readonly WalletConnect: "wallet-connect"; readonly CosmostationEth: "cosmostation-eth"; readonly PrivateKeyCosmos: "private-key-cosmos"; }; type Wallet = (typeof Wallet)[keyof typeof Wallet]; declare const MagicProvider: { readonly Email: "email"; readonly Apple: "apple"; readonly Github: "github"; readonly Google: "google"; readonly Discord: "discord"; readonly Twitter: "twitter"; readonly Facebook: "facebook"; }; type MagicProvider = (typeof MagicProvider)[keyof typeof MagicProvider]; declare const WalletDeviceType: { readonly Mobile: "mobile"; readonly Other: "other"; readonly Browser: "browser"; readonly Hardware: "hardware"; }; type WalletDeviceType = (typeof WalletDeviceType)[keyof typeof WalletDeviceType]; declare const WalletEventListener: { readonly AccountChange: "account-change"; readonly ChainIdChange: "chain-id-change"; }; type WalletEventListener = (typeof WalletEventListener)[keyof typeof WalletEventListener]; declare const EvmWalletProviderErrorCode: { readonly InternalError: -32603; readonly UserRejectedRequest: 4001; readonly UnrecognizedChain: 4902; }; type EvmWalletProviderErrorCode = (typeof EvmWalletProviderErrorCode)[keyof typeof EvmWalletProviderErrorCode]; declare const WalletAction: { readonly GetChainId: "get-chain-id"; readonly GetAccounts: "get-accounts"; readonly GetNetworkId: "get-network-id"; readonly SignArbitrary: "sign-arbitrary"; readonly SignTransaction: "sign-transaction"; readonly SendTransaction: "send-transaction"; readonly SendEvmTransaction: "send-evm-transaction"; readonly SignEvmTransaction: "sign-evm-transaction"; readonly GetEvmTransactionReceipt: "get-evm-transaction-receipt"; }; type WalletAction = (typeof WalletAction)[keyof typeof WalletAction]; declare const DEFAULT_BASE_DERIVATION_PATH = "m/44'/60'"; declare const DEFAULT_NUM_ADDRESSES_TO_FETCH = 5; declare const DEFAULT_ADDRESS_SEARCH_LIMIT = 100; declare const TurnkeyProvider: { readonly Sms: "sms"; readonly Apple: "apple"; readonly Email: "email"; readonly Google: "google"; readonly Twitter: "twitter"; }; type TurnkeyProvider = (typeof TurnkeyProvider)[keyof typeof TurnkeyProvider]; type TurnkeyOAuthProvider = typeof TurnkeyProvider.Apple | typeof TurnkeyProvider.Google | typeof TurnkeyProvider.Twitter; declare const StrategyEventType: { readonly ConnectionEnd: "connection-end"; readonly ConnectionStart: "connection-start"; readonly WalletSigningEnd: "wallet-signing-end"; readonly WalletSigningStart: "wallet-signing-start"; }; declare const WalletConnectStrategyEventType: { readonly WalletConnectSigningWithTxTimeout: "signing-with-tx-timeout"; }; declare const WalletStrategyEmitterEventType: { readonly TransactionFail: "transaction-fail"; readonly TransactionSigned: "transaction-signed"; readonly TransactionSignStart: "transaction-sign-start"; readonly TransactionBroadcastEnd: "transaction-broadcast-end"; readonly TransactionBroadcastStart: "transaction-broadcast-start"; readonly TransactionBroadcastSynced: "transaction-broadcast-synced"; readonly TransactionPreparationEnd: "transaction-preparation-end"; readonly TransactionPreparationStart: "transaction-preparation-start"; readonly WalletStrategyDisconnect: "wallet-strategy-disconnect"; }; type StrategyEventType = (typeof StrategyEventType)[keyof typeof StrategyEventType] | (typeof WalletConnectStrategyEventType)[keyof typeof WalletConnectStrategyEventType]; type WalletStrategyEmitterEventType = (typeof WalletStrategyEmitterEventType)[keyof typeof WalletStrategyEmitterEventType] | StrategyEventType; type WalletStrategyEmitterEvents = { [K in WalletStrategyEmitterEventType]: Record }; interface WalletStrategyEmitter { on(event: WalletStrategyEmitterEventType, listener: (...args: any[]) => void): this; off(event: WalletStrategyEmitterEventType, listener: (...args: any[]) => void): this; emit(event: WalletStrategyEmitterEventType, ...args: any[]): boolean; } interface BrowserEip1193ProviderRpcError extends Error { message: string; code: number; data?: unknown; } interface BrowserEip1193ProviderMessage { type: string; data: unknown; } interface BrowserEip1193ProviderInfo { chainId: string; } interface BrowserEip1193RequestArguments { method: string; params?: unknown[] | object; } interface BrowserEip1193Provider { on(event: 'connect', listener: (info: BrowserEip1193ProviderInfo) => void): void; on(event: 'disconnect', listener: (error: BrowserEip1193ProviderRpcError) => void): void; on(event: 'message', listener: (message: BrowserEip1193ProviderMessage) => void): void; on(event: 'chainChanged', listener: (chainId: string) => void): void; on(event: 'accountsChanged', listener: (accounts: string[]) => void): void; on(event: string, listener: any): void; once?(event: string, listener: any): void; removeListener(event: string, listener: any): void; off?(event: string, listener: any): void; request(args: BrowserEip1193RequestArguments): Promise; removeAllListeners(): void; providers?: BrowserEip1193Provider[]; isTrust: boolean; isKeplr: boolean; isRabby: boolean; isRainbow: boolean; isPhantom: boolean; isBitGet?: boolean; isBitKeep?: boolean; isMetaMask: boolean; isOkxWallet: boolean; isTrustWallet: boolean; } interface WindowWithEip1193Provider extends Omit { rainbow: BrowserEip1193Provider; rabby: BrowserEip1193Provider; ethereum: BrowserEip1193Provider; okxwallet: BrowserEip1193Provider; providers: BrowserEip1193Provider[]; trustWallet?: BrowserEip1193Provider; bitkeep: { ethereum: BrowserEip1193Provider; }; phantom?: { ethereum?: BrowserEip1193Provider; }; keplr?: { ethereum?: BrowserEip1193Provider; }; } interface EIP6963ProviderInfo { rdns: string; uuid: string; name: string; icon: string; } interface EIP6963ProviderDetail { info: EIP6963ProviderInfo; provider: BrowserEip1193Provider; } type EIP6963AnnounceProviderEvent = { detail: EIP6963ProviderDetail; }; declare const isEvmWallet: (wallet: Wallet) => boolean; declare const isCosmosWallet: (wallet: Wallet) => boolean; declare const isEvmBrowserWallet: (wallet: Wallet) => boolean; declare const isCosmosBrowserWallet: (wallet: Wallet) => boolean; declare const isEip712V2OnlyWallet: (wallet: Wallet) => boolean; declare const isCosmosAminoOnlyWallet: (wallet: Wallet) => boolean; //#endregion export { BroadcastMode, BrowserEip1193Provider, type ConcreteCosmosWalletStrategy, type ConcreteCosmosWalletStrategyArgs, type ConcreteEvmWalletStrategyArgs, type ConcreteStrategiesArg, type ConcreteWalletStrategy, type ConcreteWalletStrategyArgs, type CosmosWalletAbstraction, DEFAULT_ADDRESS_SEARCH_LIMIT, DEFAULT_BASE_DERIVATION_PATH, DEFAULT_NUM_ADDRESSES_TO_FETCH, EIP6963AnnounceProviderEvent, EIP6963ProviderDetail, EIP6963ProviderInfo, type Eip1193Provider, EvmWalletProviderErrorCode, type MagicMetadata, MagicProvider, type PrivateKeyMetadata, type SendTransactionOptions, type StrategyEmitter, StrategyEventType, type TurnkeyMetadata, TurnkeyOAuthProvider, TurnkeyProvider, type TurnkeySession, Wallet, WalletAction, type WalletConnectMetadata, WalletConnectStrategyEventType, WalletDeviceType, WalletEventListener, type WalletMetadata, type WalletStrategy, type WalletStrategy as WalletStrategyInterface, type WalletStrategyArguments, WalletStrategyEmitter, WalletStrategyEmitterEventType, WalletStrategyEmitterEvents, type WalletStrategyEvmOptions, WindowWithEip1193Provider, isCosmosAminoOnlyWallet, isCosmosBrowserWallet, isCosmosWallet, isEip712V2OnlyWallet, isEvmBrowserWallet, isEvmWallet, type onAccountChangeCallback, type onChainIdChangeCallback };