import { CollectionOptimisticActionsBaseParams, FiltersMap, OptionalFiltersMap } from '@wix/bex-core';
import { CollectionConfigWithConditionals } from '@wix/bex-core/react';
import { EditableTableState, EditableTablePermissions, EditableTableMutationHandlers } from '../state/EditableTable';
import type { CellType } from '../state/EditableTable/types';
import type { FieldActions } from '../types/SchemaConfig';
export type EditableTableCollectionConfig<T, F extends FiltersMap> = CollectionConfigWithConditionals<T, F> & {
    permissions?: EditableTablePermissions;
    mutations: EditableTableMutationHandlers<T>;
    fieldActions?: FieldActions;
    refresh?: () => Promise<void>;
    optimisticActionParams?: Partial<CollectionOptimisticActionsBaseParams<T, F>>;
    /**
     * Additional cell types to register alongside the built-in ones.
     * Augment `CellTypeConfigMap` to use these types on `EditableColumn.cellType`.
     */
    extraCellTypes?: CellType[];
};
type EditableTableCollection = <T, F extends FiltersMap = OptionalFiltersMap>(config: EditableTableCollectionConfig<T, F>) => EditableTableState<T, F>;
export declare const useEditableTableCollection: EditableTableCollection;
export {};
//# sourceMappingURL=useEditableTableCollection.d.ts.map