/// <reference types="react" />
import { type JsonNodeProps } from '../JsonNode';
export declare const useLogic: ({ value, keyPath, checkExpanded, toggleExpanded, ...props }: JsonNodeProps) => {
    nodeKey: string | number;
    level: number;
    icon: import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
    type: import("../../types").ValueType;
    color: string;
    isExpandable: boolean;
    isExpanded: boolean;
    value: import("../../types").JsonValue;
    handleToggle: () => void;
    toggleExpanded: (key: string) => void;
    checkExpanded: (key: string) => boolean;
    getNestedKeyPath: (key: string | number) => string;
};
