/**
 * MIT License
 *
 * Copyright (c) 2019 Kasun Vithanage
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in all
 * copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 * SOFTWARE.
 *
 */
import { Payment } from "./Payment";
import { TransactionVerification } from './TransactionVerification';
export declare const ApiVersion = "3.2";
export declare class Przelewy24 {
    private merchantId;
    private posId;
    private salt;
    private client;
    private baseParams;
    private baseUrl;
    /**
     * Creates an instance of Przelewy24.
     * @param {number} merchantId Merchant ID given by Przelewy24
     * @param {number} posId Shop ID (defaults to merchantId)
     * @param {string} salt md5 of p24_pos_id|CRC
     * @param {boolean} [testMode=false] Whether to use sandbox or not
     * @memberof Przelewy24
     */
    constructor(merchantId: number, posId: number, salt: string, testMode?: boolean);
    /**
     * TestConnection to Przelewy24
     * return true on success
     */
    testConnection(): Promise<boolean>;
    /**
     * Get a payment link
     *
     * @param {Payment} payment - Payment object
     * @returns
     * @memberof Przelewy24
     */
    getPaymentLink(payment: Payment): Promise<string>;
    /**
     * Verifies a transaction
     *
     * @param {TransactionVerification} verification
     * @memberof Przelewy24
     */
    verifyTransaction(verification: TransactionVerification): Promise<boolean>;
}
//# sourceMappingURL=Przelewy24.d.ts.map