import { Connector } from 'wagmi'; export type InstructionStepName = 'install' | 'create' | 'scan' | 'refresh'; type RainbowKitConnector = { connector: C; mobile?: { getUri?: () => Promise; }; desktop?: { getUri?: () => Promise; }; qrCode?: { getUri: () => Promise; instructions?: { learnMoreUrl: string; steps: { step: InstructionStepName; title: string; description: string; }[]; }; }; extension?: { instructions?: { learnMoreUrl: string; steps: { step: InstructionStepName; title: string; description: string; }[]; }; }; }; export type Wallet = { id: string; name: string; shortName?: string; iconUrl: string | (() => Promise); iconAccent?: string; iconBackground: string; installed?: boolean; downloadUrls?: { android?: string; ios?: string; mobile?: string; qrCode?: string; chrome?: string; edge?: string; firefox?: string; opera?: string; safari?: string; browserExtension?: string; }; hidden?: (args: { wallets: { id: string; connector: Connector; installed?: boolean; name: string; }[]; }) => boolean; createConnector: () => RainbowKitConnector; }; export type WalletList = { groupName: string; wallets: Wallet[]; }[]; export type WalletInstance = Omit & ReturnType & { index: number; groupIndex: number; groupName: string; walletConnectModalConnector?: Connector; }; export {};