import type { ElementType } from 'react'; import type { Chain } from 'wagmi/chains'; import type { CreateConnectorFn } from 'wagmi'; import type { Store as ProvidersStore } from 'mipd'; export type WalletAdapterIcons = { light: ElementType; dark: ElementType; }; export type WalletAdapterData = { walletId: string; walletName: string; type: string; rdns?: string; icon?: ElementType | WalletAdapterIcons; detector?: () => boolean | Promise; autoConnectOnly?: boolean; downloadURLs?: { default: string; android?: string; ios?: string; }; deeplink?: string; createConnectorFn: CreateConnectorFn; walletconnectExtras?: { connectionViaURI?: { createConnectorFn: CreateConnectorFn; condition: boolean; redirectLink: string; closeRedirectionWindow?: boolean; }; }; }; export interface WalletAdapterArgs { rpc: Record; defaultChain: Chain; walletconnectProjectId?: string; safeAllowedDomains?: RegExp[]; providersStore: ProvidersStore; } export type WalletAdapterType = (args: WalletAdapterArgs) => WalletAdapterData; //# sourceMappingURL=walletAdapter.d.ts.map