import { type ImmutableObject } from 'seamless-immutable'; import { type GlobalData, type ModuleAttrs } from '@divi/types'; /** * Process option group preset attributes. * This function is used to process the attributes of the group presets. * * @since ?? * * @param {string} moduleName Module name. * @param {ImmutableObject} groupPresetsData Group presets data. * @param {string} attrsKey The attribute key to extract ('attrs' for defaults, 'renderAttrs' for rendering). * * @returns {ModuleAttrs} Group presets attributes merged together. */ export declare const processOptionGroupPresetAttrs: ( moduleName: string, groupPresetsData: ImmutableObject, attrsKey?: 'attrs' | 'renderAttrs', ) => ModuleAttrs; /** * Process option group preset render attributes. * This is a convenience wrapper that calls processOptionGroupPresetAttrs with 'renderAttrs'. * * @since ?? * * @param {string} moduleName Module name. * @param {ImmutableObject} groupPresetsData Group presets data. * * @returns {ModuleAttrs} Group presets render attributes. */ export declare const processOptionGroupPresetRenderAttrs: ( moduleName: string, groupPresetsData: ImmutableObject, ) => ModuleAttrs;