/// <reference types="lodash" />
import { BasicCategory, PrivateView } from '../model';
import { ViewsState } from './ViewsState';
import { FiltersMap } from '@wix/bex-core';
import { ViewsLocalSearchBIReporter } from './ViewsLocalSearchBIReporter';
type CategoryWithViews<F extends FiltersMap> = BasicCategory & {
    views: PrivateView<F>[];
};
export interface ViewsLocalSearchStateParams<F extends FiltersMap> {
    readonly views: ViewsState<F>;
}
export declare class ViewsLocalSearchState<F extends FiltersMap> {
    readonly views: ViewsState<F>;
    readonly bi: ViewsLocalSearchBIReporter<F>;
    readonly scheduleLocalSearch: import("lodash").DebouncedFunc<() => void>;
    get container(): import("@wix/bex-core").WixPatternsContainer;
    get collection(): import("@wix/bex-core").CollectionState<PrivateView<F>, FiltersMap>;
    inputValue: string;
    localSearchValue: string;
    setInputValueAndScheduleSearch: (value: string) => void;
    clearSearch: () => void;
    _setLocalSearchValue: (value?: string) => void;
    _search: () => void;
    constructor(params: ViewsLocalSearchStateParams<F>);
    init(): () => void;
    get filteredCategoriesWithViews(): {
        viewsWithoutCategory: PrivateView<F>[];
        categories: CategoryWithViews<F>[];
    };
    get categoriesWithViews(): {
        categories: CategoryWithViews<F>[];
        viewsWithoutCategory: PrivateView<F>[];
    };
}
export {};
//# sourceMappingURL=ViewsLocalSearchState.d.ts.map