import { getTransactionsFilterQueryParams } from '../components/utils';
import { TransactionsFilters } from '../types';
type AllQueryParams = ReturnType<typeof getTransactionsFilterQueryParams>;
type TotalsQueryParams = Partial<AllQueryParams> & Pick<AllQueryParams, 'balanceAccountId'>;
export type GetQueryParams = (allQueryParams: AllQueryParams) => TotalsQueryParams;
export interface UseTransactionsTotalsProps {
    fetchEnabled: boolean;
    filters: Readonly<TransactionsFilters>;
    applicableFilters?: Set<keyof TransactionsFilters>;
    getQueryParams: GetQueryParams;
    now: number;
}
declare const useTransactionsTotals: ({ applicableFilters, fetchEnabled, filters, getQueryParams, now }: UseTransactionsTotalsProps) => {
    readonly totals: readonly Readonly<{
        currency: string;
        expenses: number;
        incomings: number;
        total: number;
        breakdown: {
            expenses: import("../../../../types/api/resources/TransactionsResourceV2").components["schemas"]["TransactionCategoryTotal"][];
            incomings: import("../../../../types/api/resources/TransactionsResourceV2").components["schemas"]["TransactionCategoryTotal"][];
        };
    }>[];
    readonly error: Error | undefined;
    readonly canRefresh: boolean;
    readonly refresh: () => void;
    readonly isAvailable: boolean;
    readonly isWaiting: boolean;
};
export default useTransactionsTotals;
//# sourceMappingURL=useTransactionsTotals.d.ts.map