import { GroupByOption } from './GroupByModule'; import { GroupByProps } from './GroupBy'; import { TableConfig, TableState } from '../../types'; export interface GroupByService { getGroupBy: () => GroupByOption | undefined; setGroupBy: (id: string) => void; setGroupByOptions: (options: GroupByOption[], selected?: string) => void; isGroupExpanded: (id: string) => boolean; toggleExpandingGroup: (id: string) => void; getExpandingGroup: (id: string) => GroupByProps | undefined; toggleExpandingAllGroups: () => void; } export declare const groupByServiceId: string; export declare const groupByService: (getState: () => TableState, update: (id: string, newState: TableState | ((prev: TableState) => TableState)) => void, config: TableConfig) => GroupByService;