import { TablePersistOptions, TableState } from './table'; /** * Owns the Table's internal state and (optionally) syncs it to a Storage backend. * The hook always returns a fully-merged TableState so callers never have to * reason about `undefined` slices. */ export type TableStatePatch = Partial | ((prev: TableState) => Partial); export declare function useTablePersistence(options: { persist?: TablePersistOptions; controlled?: Partial; defaultState?: Partial; onStateChange?: (state: TableState) => void; }): [TableState, (next: TableStatePatch) => void];