import { FiltersMap, OptionalFiltersMap } from '@wix/bex-core';
import { CollectionConfigWithConditionals } from '@wix/bex-core/react';
import { LayoutSwitchState, SpreadsheetLayoutConfig, TableLayoutConfig, GridLayoutConfig } from '../state/LayoutSwitchState';
export type LayoutSwitchCollectionConfig<T, F extends FiltersMap> = CollectionConfigWithConditionals<T, F> & {
    table?: TableLayoutConfig;
    grid?: GridLayoutConfig;
    spreadsheet?: Omit<SpreadsheetLayoutConfig<T, F>, 'createOptimisticActions'>;
};
export declare const useLayoutSwitchCollection: <T, F extends FiltersMap = OptionalFiltersMap>(config: LayoutSwitchCollectionConfig<T, F>) => LayoutSwitchState<T, F>;
//# sourceMappingURL=useLayoutSwitchCollection.d.ts.map