/** * @license *------------------------------------------------------------------------------------------- * Copyright © 2026 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the package root for more information *------------------------------------------------------------------------------------------- */ /** * The descriptor used to define the expanded state of the detail-row. */ export type DetailExpandDescriptor = { [id: string]: boolean; }; /** @hidden */ export declare enum DETAIL_EXPAND_ACTION { DETAIL_EXPAND = "DETAIL_EXPAND_DETAIL_EXPAND", COLLAPSE = "DETAIL_EXPAND_COLLAPSE", TOGGLE = "DETAIL_EXPAND_TOGGLE", SET = "DETAIL_EXPAND_SET" } /** @hidden */ export type DetailExpandAction = { type: DETAIL_EXPAND_ACTION.TOGGLE | DETAIL_EXPAND_ACTION.DETAIL_EXPAND | DETAIL_EXPAND_ACTION.COLLAPSE; id: string; } | { type: DETAIL_EXPAND_ACTION.SET; id: string; payload: boolean; }; /** @hidden */ export declare const detailExpandReducer: (state: DetailExpandDescriptor, action: DetailExpandAction) => DetailExpandDescriptor;