import { BaseResource } from "./base";
import { Payment, PaymentCreateParams, PaymentQueryParams, PostRequestOptions } from "../models";
import { IrdPaymentCreateParams } from "../models/payments";
/**
 * Utilities for managing bank account payments on behalf of users.
 *
 * {@link https://developers.akahu.nz/docs/making-a-payment}
 *
 * @category Resource
 */
export declare class PaymentsResource extends BaseResource {
    /**
     * Get a single payment made by the user associated with the specified `token`.
     *
     * {@link https://developers.akahu.nz/reference/get_payments-id}
     */
    get(token: string, paymentId: string): Promise<Payment>;
    /**
     * List all payments made in the provided date range by the user associated
     * with the specified `token`. Defaults to the last 30 days if no date range
     * is provided.
     *
     * {@link https://developers.akahu.nz/reference/get_payments}
     */
    list(token: string, query?: PaymentQueryParams): Promise<Payment[]>;
    /**
     * Initiate a payment to an external bank account on behalf of the user associated
     * with the specified `token`.
     *
     * {@link https://developers.akahu.nz/reference/post_payments}
     */
    create(token: string, payment: PaymentCreateParams, requestOptions?: PostRequestOptions): Promise<Payment>;
    /**
     * Initiate a payment to the Inland Revenue Department on behalf of the user
     * associated with the specified `token`.
     *
     * {@link https://developers.akahu.nz/reference/post_payments-ird}
     */
    createToIrd(token: string, payment: IrdPaymentCreateParams, requestOptions?: PostRequestOptions): Promise<Payment>;
    /**
     * Cancel a payment that has a status of `PENDING_APPROVAL`.
     *
     * {@link https://developers.akahu.nz/reference/put_payments-id-cancel}
     * {@link https://developers.akahu.nz/docs/making-a-payment#manual-payment-approval}
     */
    cancel(token: string, paymentId: string): Promise<void>;
}
