import { FundingSource, GlideDepositWalletProvider, GlideSolanaWalletProvider, GlideLocalStorageProvider, ShowAppLogo, DebitCardAlias } from './GlideDeposit.ts'; import { GlideWidgetTheme } from './theme.ts'; import { CAIP2, CAIP19, Hex, Session } from '@paywithglide/glide-js'; interface UseGlideDepositProps { app: string; recipient?: string; chainId?: CAIP2; currencyId?: string; amount?: string; gasRefuelAmountPerChain?: Record; preferGaslessPayment?: boolean; chainIds?: CAIP2[]; excludeChainIds?: CAIP2[]; excludeCurrencyTiers?: ("tier1" | "tier2" | "tier3")[]; excludeFundingSources?: FundingSource[]; fundingSources?: FundingSource[]; allowedPaymentCurrencies?: string[]; excludePaymentCurrencies?: string[]; /** * Pre-selects the payment token and chain in the transfer ("Deposit from * anywhere") flow. CAIP-19, e.g. * "solana:101/token:EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v". * Applies when the user has no previously saved token selection, which still * takes precedence. */ defaultPaymentCurrency?: CAIP19; appMetadata?: { name?: string; logoUrl?: string; faviconUrl?: string; }; enableRefundEmails?: boolean; payerEmail?: string; mode?: "deposit" | "withdraw"; hideWithdrawAddress?: boolean; hideSettlementCopy?: boolean; showAppLogo?: ShowAppLogo; showOnrampFirst?: boolean; debitCardAlias?: DebitCardAlias; copyOverrides?: Record; stableDepositAddressKey?: string; sessionId?: string; sessionMetadata?: string; disableWithdrawToSelfSuggestion?: boolean; theme?: GlideWidgetTheme; walletProvider?: GlideDepositWalletProvider; solanaWalletProvider?: GlideSolanaWalletProvider; localStorageProvider?: GlideLocalStorageProvider; onOpen?: () => void; onSuccess?: (hash: Hex, session: Session) => void; onClose?: () => void; autoCloseOnSuccess?: boolean; popupsBlocked?: boolean; baseUrl?: string; debug?: boolean; } export declare const useGlideDeposit: ({ app, recipient, chainId, currencyId, amount, gasRefuelAmountPerChain, preferGaslessPayment, chainIds, excludeChainIds, excludeCurrencyTiers, excludeFundingSources, fundingSources, allowedPaymentCurrencies, excludePaymentCurrencies, defaultPaymentCurrency, appMetadata, enableRefundEmails, payerEmail, mode, hideSettlementCopy, showAppLogo, showOnrampFirst, debitCardAlias, copyOverrides, stableDepositAddressKey, sessionId, sessionMetadata, disableWithdrawToSelfSuggestion, theme, walletProvider, solanaWalletProvider, localStorageProvider, onOpen, onSuccess, onClose, autoCloseOnSuccess, popupsBlocked, baseUrl, debug, }: UseGlideDepositProps) => { openGlideDeposit: () => void; externalUrl: string; opts: import('./GlideDeposit.ts').GlideDepositOptions; }; export {};