import type { SlotConfigType } from '../interface'; interface NodeInfo { slotKey?: string; nodeType?: 'nbsp'; skillKey?: string; slotConfig?: SlotConfigType; placeholder?: string; targetNode: HTMLElement; } type SlotValues = Record; declare const useSlotConfigState: (slotConfig?: readonly SlotConfigType[]) => [Map, { getSlotValues: () => SlotValues; setSlotValues: React.Dispatch>; mergeSlotConfig: (newSlotConfig: SlotConfigType[]) => void; getNodeInfo: (targetNode: HTMLElement) => NodeInfo | null; getNodeTextValue: (node: Node) => string; }]; export default useSlotConfigState;