import type { RowSelectionState, SortingState, ColumnSizingState, ColumnFiltersState } from '@tanstack/react-table'; export type DraftValues = Record; export type FilterPopoverState = { open: boolean; draft: DraftValues; }; export declare const DEFAULT_FILTER_SCOPE = "default"; type TableState = { rowSelection: RowSelectionState; sorting: SortingState; columnSizing: ColumnSizingState; globalFilter: string; columnFilters: ColumnFiltersState; filterPopovers: Record; setRowSelection: (selection: RowSelectionState | ((old: RowSelectionState) => RowSelectionState)) => void; setSorting: (sorting: SortingState | ((old: SortingState) => SortingState)) => void; setColumnSizing: (sizing: ColumnSizingState | ((old: ColumnSizingState) => ColumnSizingState)) => void; setGlobalFilter: (value: string | ((old: string) => string)) => void; setColumnFilters: (value: ColumnFiltersState | ((old: ColumnFiltersState) => ColumnFiltersState)) => void; getFilterPopover: (scopeId: string) => FilterPopoverState; setFilterPopoverOpen: (scopeId: string, open: boolean) => void; setFilterDraft: (scopeId: string, draft: DraftValues | ((old: DraftValues) => DraftValues)) => void; resetFilterDraft: (scopeId: string, initial: DraftValues) => void; }; export declare const selectFilterPopover: (scopeId: string) => (state: TableState) => FilterPopoverState; export declare const useTableStore: import("zustand").UseBoundStore>; export {}; //# sourceMappingURL=tableStore.d.ts.map