import type { CollectionOptimisticActionsBaseParams, FiltersMap, OptionalFiltersMap, SchemaSource } from '@wix/bex-core'; import type { EditableTableState, EditableTablePermissions, EditableTableMutationHandlers } from '../state/EditableTable'; import type { CellType } from '../state/EditableTable/types'; import { type SchemaCollectionOptions } from './schemaCollectionOptions'; export type SchemaEditableTableCollectionOptions = SchemaCollectionOptions & { permissions?: EditableTablePermissions; /** Row write handlers. Default: derived from the source's backend * (`create`/`update`/`bulkDelete`). */ mutations?: EditableTableMutationHandlers; optimisticActionParams?: Partial>; /** Additional cell types to register alongside the built-in ones. */ extraCellTypes?: CellType[]; }; /** An editable-table collection driven by a source: query config, columns, * field management, and row writes all come from the source. */ export declare function useEditableTableCollection(source: SchemaSource, options?: SchemaEditableTableCollectionOptions): EditableTableState; //# sourceMappingURL=useEditableTableCollection.d.ts.map