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