import { LitElement } from 'lit'; /** Tamaño visual del visor. */ export type OkJsonViewerSize = 'compact' | 'default' | 'lg'; /** Valor JSON cualquiera (recursivo). */ export type OkJsonValue = string | number | boolean | null | OkJsonValue[] | { [key: string]: OkJsonValue; }; export declare class OkJsonViewer extends LitElement { static styles: import("lit").CSSResult; /** Datos a visualizar: valor JSON, o un string JSON que se parsea. */ data: OkJsonValue | string; /** Tamaño visual: compact | default | lg. */ size: OkJsonViewerSize; /** Profundidad inicial expandida (default 1; usa -1 para expandir todo). */ expandedDepth: number; private collapsed; private get value(); private static hasChildren; private isExpanded; private toggle; private static caretSvg; private static renderLeaf; private static countLabel; private renderRow; render(): unknown; } declare global { interface HTMLElementTagNameMap { 'ok-json-viewer': OkJsonViewer; } }