import type { SlotConfigType } from '../interface';
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[]) => [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;
