import { FiltersMap } from '@wix/bex-core';
import { ViewsState } from '../state';
import { View } from '../model';
import { CollectionViewsDropdownProps } from '../components/CollectionViewsDropdown';
export interface ViewsConfig<F extends FiltersMap> {
    namespace: string;
    presets?: CollectionViewsDropdownProps<F>['presets'];
    allItemsViewProps?: CollectionViewsDropdownProps<F>['allItemsViewProps'];
    initialSelect?: true | ((item: View<F>, index: number) => boolean);
    fqdn: string;
}
export type ViewsFactory = <F extends FiltersMap>(config: ViewsConfig<F>) => ViewsState<F>;
export declare function useCreateViews(): ViewsFactory;
export declare const useViews: ViewsFactory;
//# sourceMappingURL=useViews.d.ts.map