import type { CheckoutInitTokenTransferResponse } from '@funkit/api-base'; import { type SupportedToken, type TokenChainFilter } from '../supportedTokens'; export interface UseSupportedTokensResult { /** Curated deposit tokens (no icons attached), priority symbols first. */ tokens: SupportedToken[]; /** `All` + one chip per configured chain. */ chainFilters: TokenChainFilter[]; isLoading: boolean; } /** * Fetch + resolve the deposit token list the same way the web SDK does: the * curated Statsig `tokentransferconfig` (chains + asset addresses), filtered by * the disabled list and merged with `@funkit/api-base`'s `getSupportedAssets` * metadata (`resolveTokenTransferConfig`, shared via connect-core) — NOT the raw * allow-list. Identity (apiKey) comes from {@link useFunkitIdentity}; the query * is disabled until an apiKey is present. * * `transferInit` gates which chains are offered: Solana / Bitcoin / Tron only * appear once the deposit-init response carries their address (mirrors web's * `useEnabledTokenTransferChainTokens` via the shared `isTransferChainEnabled`). */ export declare function useSupportedTokens({ enabled, transferInit, }?: { enabled?: boolean; transferInit?: CheckoutInitTokenTransferResponse; }): UseSupportedTokensResult; //# sourceMappingURL=useSupportedTokens.d.ts.map