import { type ExchangeProviderNameAndSignature } from "."; export type SwapProviderConfig = { needsKYC: boolean; needsBearerToken?: boolean; }; export type CEXProviderConfig = ExchangeProviderNameAndSignature & SwapProviderConfig & { type: "CEX"; }; export type DEXProviderConfig = SwapProviderConfig & { type: "DEX"; }; export type AdditionalProviderConfig = SwapProviderConfig & { type: "DEX" | "CEX"; } & { version?: number; termsOfUseUrl: string; supportUrl: string; usefulUrls?: string[]; mainUrl: string; useInExchangeApp: boolean; displayName: string; }; export type ProviderConfig = CEXProviderConfig | DEXProviderConfig; export declare const dexProvidersContractAddress: { [key: string]: string; }; export declare const termsOfUse: { [key: string]: string; }; export declare const privacyPolicy: { [key: string]: string; }; type CurrencyData = { id: string; config: string; signature: string; }; export declare const getSwapProvider: (providerName: string) => Promise; /** * Retrieves the currency data for a given ID * @param currencyId The unique identifier for the currency. * @returns A promise that resolves to the currency data including ID, serialized config, and signature. * @deprecated Use cal module `findCurrencyData` method. */ export declare const findExchangeCurrencyData: (currencyId: string) => Promise; export declare const fetchAndMergeProviderData: (env: any) => Promise; export declare const getAvailableProviders: () => Promise; export declare const getDefaultSwapProviderKeys: () => string[]; export {}; //# sourceMappingURL=swap.d.ts.map