import { ExpandingRowConfig, ExpandingRowState } from './ExpandingRowModule'; import { TableConfig, TableState } from '../../types'; export interface ExpandingRowService { getExpandingRow: () => ExpandingRowState | undefined; getExpandedRow: () => string | string[] | undefined; isRowExpanded: (rowId: string) => boolean; toggleExpandingRow: (rowId: string) => void; getExpandingRowSettings: () => ExpandingRowConfig['settings'] | undefined; toggleExpandingAllRows: () => void; } export declare const expandingRowServiceId: string; type GetStateType = () => TableState; type UpdateStateType = (id: string | string[], newState: TableState | ((prev: TableState) => TableState)) => void; export declare const expandingRowService: (getState: GetStateType, updateState: UpdateStateType, config: TableConfig) => ExpandingRowService; export {};