// Keep these in sync with the backend currencies we support declare type DestinationCurrency = 'btc' | 'eth' | 'matic' | 'sol' | 'usdc'; declare type DestinationNetwork = 'bitcoin' | 'ethereum' | 'polygon' | 'solana'; type CreateObjHelper = { [K in Keys]: { [K2 in Keys]?: K2 extends K ? string : never; }; }; type CreateObjOneKey = CreateObjHelper[keyof CreateObjHelper]; type AmountParamKeys = | 'source_amount' | 'source_total_amount' | 'destination_amount'; type AmountParam = CreateObjOneKey; export type StandaloneOnrampOptions = { destination_currency?: DestinationCurrency; destination_network?: DestinationNetwork; supported_destination_currencies?: Array; supported_destination_networks?: Array; amount?: AmountParam; }; export interface StandaloneOnrampSession { /** * Returns a URL for the parameters passed into a call to Standalone */ getUrl(): string; }