import { Result } from '../utils/result'; import * as types from './types'; import ConnectedWallet, { Chain } from '../connected_wallets/ConnectedWallet'; export declare const setClientId: (id: string) => void; export declare const isInitialized: () => boolean | "" | undefined; export declare const initConfigs: () => Promise>; export declare const createPaymentWithConnectedWallet: (connectedWallet: ConnectedWallet, orderCode: string, amount: string, chain: Chain, tokenName: string) => Promise>; export declare const createPayment: (chainId: string, orderCode: string, amount: string, token: string) => Promise>; export declare const waitForConfirmation: (orderCode: string, paymentRequestId: string) => Promise>; export declare function isExposingError(code: number): boolean;