///
import { type JsonNodeProps } from '../JsonNode';
export declare const useLogic: ({ value, keyPath, checkExpanded, toggleExpanded, ...props }: JsonNodeProps) => {
nodeKey: string | number;
level: number;
icon: import("react").ReactElement>;
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;
};