/// import { type JsonValue } from '../types'; export type JsonNodeProps = { /** * Ключ узла */ nodeKey: string | number; /** * Значение узла */ value: JsonValue; /** * Путь до узла */ keyPath: string; /** * Уровень вложенности */ level: number; /** * Функция для переключения состояния expanded */ toggleExpanded: (key: string) => void; /** * Функция для проверки состояния expanded */ checkExpanded: (key: string) => boolean; }; export declare const JsonNode: (props: JsonNodeProps) => JSX.Element;