export declare const formatCurrency: (amount: number, currency: string) => string; export declare const formatDOTAmount: (amount: string | number) => string; export declare const truncateAddress: (address: string, startLength?: number, endLength?: number) => string; export declare const isValidPolkadotAddress: (address: string) => boolean; export declare const sleep: (ms: number) => Promise; export declare const debounce: any>(func: T, wait: number) => ((...args: Parameters) => void); export declare const throttle: any>(func: T, limit: number) => ((...args: Parameters) => void); export declare const generateId: () => string; export declare const isWalletAvailable: (walletId: string) => boolean; export declare const getWalletIcon: (walletId: string) => string; export declare const getWalletName: (walletId: string) => string; export declare const createPaymentWidgetElement: (config: { container: string | HTMLElement; paymentIntent: string | any; onSuccess?: (event: any) => void; onError?: (error: Error) => void; onCancel?: () => void; theme?: any; }) => HTMLElement; //# sourceMappingURL=index.d.ts.map