import '../styles/theme.css'; import type { Algodv2, Indexer } from 'algosdk'; import type { Snippet } from 'svelte'; import type { WalletId, WalletConnectConfig } from '../adapters/types.js'; import type { ConnectedAccount } from '../state/types.js'; interface Props { onAccountPicked?: (account: ConnectedAccount) => void; /** Account picks update store selection by default; navigation only emits the pick. */ accountMode?: 'selection' | 'navigation'; /** Current connected account pair in navigation mode. Omit or pass null for no current row. */ currentAccount?: Pick | null; /** Algorand node client (required) */ algodClient: Algodv2; /** Indexer client (optional) */ indexerClient?: Indexer; /** Which wallets to enable */ enabledWallets?: WalletId[]; /** Allow watch-only accounts */ allowWatchAccounts?: boolean; /** Display mode: dropdown or modal */ displayMode?: 'dropdown' | 'modal'; /** Dropdown alignment; auto measures available space when opened. */ dropdownAlign?: 'auto' | 'start' | 'end'; /** WalletConnect project configuration */ wcConfig?: WalletConnectConfig; /** Additional CSS classes for the container */ class?: string; /** Instance ID for targeted external control via uiStore.openWalletList(id) */ id?: string; /** Scope identifier for multi-chain support. Omit or 'default' for single-chain backward compat. */ scope?: string; /** Auto sign-in after connecting */ autoSignIn?: boolean; /** Show sign-in button on accounts */ showSignInButton?: boolean; /** Show sign-in status indicator */ showSignInStatus?: boolean; /** Custom trigger button content. selectedAccount always reflects the store selection. */ trigger?: Snippet<[ { selectedAccount: ConnectedAccount | null; toggle: () => void; isOpen: boolean; } ]>; } declare const Web3Wallet: import("svelte").Component; type Web3Wallet = ReturnType; export default Web3Wallet;