/** * Custom hook to extract resource values from a groupIndex. * * Maps a groupIndex to its corresponding resource IDs using the leafResources array. * When groupIndex is undefined/null, falls back to using the first item from each resource's dataSource. * * @returns {Function} Function that takes optional groupIndex and returns a map of { fieldName: resourceId } * * @private */ export declare const useSetResourceValues: () => (groupIndex?: number) => Record; /** * * When the editor opens with a groupIndex (from cell double-click), this hook * automatically extracts the corresponding resource values and applies them. * * @param {number} groupIndex - The group index (available when cell was double-clicked) * @param {function(Object): void} onResourceValuesExtracted - Callback when resource values are extracted * @param {string} action - The action type (Add/Edit) * @returns {void} * * @private */ export declare const useExtractResourceValuesFromGroupIndex: (groupIndex?: number, onResourceValuesExtracted?: (values: Record) => void, action?: string) => void;