import { BaseResource } from "./base";
import { Transaction, PendingTransaction, TransactionQueryParams, Paginated } from "../models";
/**
 * Utilities for retrieving bank transactions from connected user accounts.
 *
 * {@link https://developers.akahu.nz/docs/accessing-transactional-data}
 *
 * @category Resource
 */
export declare class TransactionsResource extends BaseResource {
    /**
     * List all transactions for all accounts that have been connected by the user associated with the
     * specified `token`.
     *
     * {@link https://developers.akahu.nz/reference/get_transactions}
     */
    list(token: string, query?: TransactionQueryParams): Promise<Paginated<Transaction>>;
    /**
     * List all pending transactions for all accounts that have been connected by the user associated with the
     * specified `token`.
     *
     * {@link https://developers.akahu.nz/reference/get_transactions-pending}
     */
    listPending(token: string): Promise<PendingTransaction[]>;
    /**
     * Get a single transaction from an account that has been connected by the user associated with
     * the specified `token`.
     *
     * {@link https://developers.akahu.nz/reference/get_transactions-id}
     */
    get(token: string, transactionId: string): Promise<Transaction>;
    /**
     * Get multiple transactions by id.
     *
     * All transactions must belong to the user associated with the specified `token`.
     *
     * This method may be useful to bulk refresh changed transaction data
     * in response to a webhook event.
     *
     * {@link https://developers.akahu.nz/reference/post_transactions-ids}
     */
    getMany(token: string, transactionIds: string[]): Promise<Transaction[]>;
}
