import { DataTableState } from '../data-table-types';
import { GroupDefinition } from '../grouping/grouping-types';
/**
 * Defines the set of fragments needed to build the state.
 */
export interface DataTableStateFragments {
    groups: GroupDefinition[];
    expandedGroups: Set<string>;
}
/**
 * Uses the dependencies to build a state object.
 * @param fragments
 * @returns
 */
export declare const createState: (fragments: DataTableStateFragments) => DataTableState;
/**
 * Destructures state into its fragments.
 * @param state
 * @returns
 */
export declare const destructureState: (state: DataTableState) => DataTableStateFragments;
//# sourceMappingURL=datatable-state.d.ts.map