import { Wallet } from "./wallet"; import type * as types from "./wallet.types"; /** * * @deprecated Это класс для тех, кто мигрирует с `node-qiwi`. * Остальным рекомендуется использовать класс {@link Wallet} * * @export * @class _WalletCompatNodeQiwi * @extends {Wallet} */ export declare class _WalletCompatNodeQiwi extends Wallet { readonly key: string; readonly contractId: string; /** * Creates an instance of _WalletCompatNodeQiwi. * @param {string} key * @param {string} [contractId=""] * @memberof _WalletCompatNodeQiwi */ constructor(key: string, contractId?: string); /** * * * @protected * @template T * @param {(string | number)} contractId * @param {*} executor * @return {Promise} Promise * @memberof _WalletCompatNodeQiwi */ protected _executeWithContractId(contractId: string | number, executor: (api: _WalletCompatNodeQiwi) => Promise): Promise; /** * * * @param {(string | number)} contractId * @param {types.IdentificationBase} [body] * @return {Promise} Promise * @memberof _WalletCompatNodeQiwi */ getIdentification(contractId: string | number, body?: types.IdentificationBase): Promise; /** * * * @param {(string | number)} contractId * @param {types.GetPaymentHistoryParameters} settings * @return {Promise} Promise * @memberof _WalletCompatNodeQiwi */ getHistory(contractId: string | number, settings?: Partial): Promise; /** * * * @param {(string | number)} contractId * @param {types.GetPaymentHistoryTotalParameters} settings * @return {Promise} Promise * @memberof _WalletCompatNodeQiwi */ getTransactionsStats(contractId: string | number, settings: types.GetPaymentHistoryTotalParameters): Promise; /** * * * @param {(string | number)} transactionId * @param {{ type: types.TransactionTypeAny? }} [settings] * @return {*} Promise * @memberof _WalletCompatNodeQiwi */ getTransaction(transactionId: string | number, settings?: { type?: types.TransactionTypeAny; }): Promise; /** * * * @return {*} Promise * @memberof _WalletCompatNodeQiwi */ getProfile(): Promise; /** * * * @return {Promise} Promise * @memberof _WalletCompatNodeQiwi */ getBalance(): Promise; /** * * * @param {number} amount * @param {string} account * @param {string} [comment] * @return {Promise} Promise * @memberof _WalletCompatNodeQiwi */ sendPayment(amount: number, account: string, comment?: string): Promise; }