import { TransactionsFilters } from '../types';
import { TransactionsOverviewComponentProps } from '../../../types';
export interface UseTransactionsListProps extends Pick<TransactionsOverviewComponentProps, 'allowLimitSelection' | 'dataCustomization' | 'onFiltersChanged' | 'preferredLimit'> {
    fetchEnabled: boolean;
    filters: Readonly<TransactionsFilters>;
    now: number;
}
declare const useTransactionsList: ({ allowLimitSelection, preferredLimit, dataCustomization, fetchEnabled, filters, now, onFiltersChanged, }: UseTransactionsListProps) => {
    readonly error: Error | undefined;
    readonly fields: import("../../../types").CustomColumn<import("../../../../utils/types").StringWithAutocompleteOptions<import("../types").TransactionsTableFields>>[] | undefined;
    readonly fetching: boolean;
    readonly records: {
        amountBeforeDeductions: import("../../../../types/api/resources/TransactionsResourceV2").components["schemas"]["Amount"];
        balanceAccountId: string;
        bankAccount?: import("../../../../types/api/resources/TransactionsResourceV2").components["schemas"]["BankAccount"];
        category: import("../../../../types/api/resources/TransactionsResourceV2").components["schemas"]["Category"];
        createdAt: string;
        id: string;
        netAmount: import("../../../../types/api/resources/TransactionsResourceV2").components["schemas"]["Amount"];
        paymentMethod?: import("../../../../types/api/resources/TransactionsResourceV2").components["schemas"]["PaymentMethod"];
        paymentPspReference?: string;
        status: import("../../../../types/api/resources/TransactionsResourceV2").components["schemas"]["Status"];
    }[] | ({
        amountBeforeDeductions: import("../../../../types/api/resources/TransactionsResourceV2").components["schemas"]["Amount"];
        balanceAccountId: string;
        bankAccount?: import("../../../../types/api/resources/TransactionsResourceV2").components["schemas"]["BankAccount"];
        category: import("../../../../types/api/resources/TransactionsResourceV2").components["schemas"]["Category"];
        createdAt: string;
        id: string;
        netAmount: import("../../../../types/api/resources/TransactionsResourceV2").components["schemas"]["Amount"];
        paymentMethod?: import("../../../../types/api/resources/TransactionsResourceV2").components["schemas"]["PaymentMethod"];
        paymentPspReference?: string;
        status: import("../../../../types/api/resources/TransactionsResourceV2").components["schemas"]["Status"];
    } & Record<string, any>)[];
    readonly hasCustomColumn: boolean;
    readonly limit: number;
    readonly limitOptions: readonly number[] | undefined;
    readonly updateLimit: (limit: number) => void;
    readonly size?: number;
    readonly next: () => void;
    readonly page: number | undefined;
    readonly prev: () => void;
    readonly hasNext: boolean;
    readonly goto: (page: number) => void;
    readonly hasPrev: boolean;
    readonly pages: number | undefined;
    readonly pageSize: number | undefined;
};
export default useTransactionsList;
//# sourceMappingURL=useTransactionsList.d.ts.map