import { SecretType } from '../models/SecretType'; import { Wallet, WalletType } from '../models/wallet/Wallet'; import { Profile } from '../models/profile/Profile'; import { WalletBalance } from '../models/wallet/WalletBalance'; import { TokenBalance } from '../models/wallet/TokenBalance'; import { NFT, WalletItems } from '../models/wallet/NFT'; import { TransactionRequest } from '..'; import { TxStatus } from '../models/transaction/TxStatus'; export declare class Api { private http; constructor(baseURL: string, tokenProvider?: any); getAvailableSecretTypes: () => Promise; getWallets: (params?: { secretType?: SecretType | undefined; walletType?: WalletType | undefined; includeBalance?: boolean | undefined; } | undefined) => Promise; getWallet: (walletId: string) => Promise; getBalance: (walletId: string) => Promise; getTokenBalances: (walletId: string) => Promise; getTokenBalance: (walletId: string, tokenAddress: string) => Promise; getNonfungibles: (walletId: string) => Promise; getNonfungiblesByAddress: (secretType: SecretType, walletAddress: string) => Promise; getAllNonfungibles: (secretTypes?: SecretType[] | undefined) => Promise; unlink: (walletId: string) => Promise; getProfile: () => Promise; private processResponse; getPendingTransactions: () => Promise; deleteTransaction: (transactionId: string) => Promise; getTransactionStatus: (transactionHash: string, secretType: SecretType) => Promise; } export interface RestApiResponseTxStatus { status: TxStatus; } export interface RestApiResponseError { code: string; message: string; } export interface RestApiResponse { success: boolean; errors: RestApiResponseError[]; result: T; }