import { CollectionOptimisticActions, CollectionState, Filter, FiltersMap } from '@wix/bex-core';
export interface FilterValueTotalStateParams<T, F extends FiltersMap, V> {
    readonly filter: Filter<V[]>;
    readonly collection: CollectionState<T, F>;
    readonly value: V | null | undefined;
    readonly optimisticActions?: CollectionOptimisticActions<T, F>;
    readonly ignoreSearch?: boolean;
    readonly fetchData?: CollectionState<T, F>['fetchData'];
}
export declare class FilterValueTotalState<T, F extends FiltersMap, V> {
    readonly collection: CollectionState<T, F>;
    readonly totalsCollection: CollectionState<T, F>;
    readonly optimisticActions: CollectionOptimisticActions<T, F> | undefined;
    readonly ignoreSearch: boolean | undefined;
    tabFilter: Filter<V[]> | null | undefined;
    value: V | null | undefined;
    constructor(params: FilterValueTotalStateParams<T, F, V>);
    refresh(value: V | null | undefined): void;
    init(): () => void;
}
//# sourceMappingURL=FilterValueTotalState.d.ts.map