import { ReactNode } from 'react'; export interface JsonViewerProps { /** Any JSON-serializable value. A string that looks like a JSON object/array * (`{…}`/`[…]`) is parsed into a tree; any other string (incl. JSON primitives * like "123"/"true") is shown raw — deliberate, so IDs/versions/phone strings * aren't silently coerced. */ data: unknown; /** Allow expand/collapse of object/array nodes. Default: true. */ collapsible?: boolean; /** Initial collapsed state of nested nodes (root stays expanded). Default: false. */ defaultCollapsed?: boolean; /** Show a copy-to-clipboard button (copies pretty-printed JSON). Default: true. */ copyable?: boolean; /** Show a filter box that highlights + expands matching keys/values. Default: false. */ searchable?: boolean; /** Scroll cap; number => px. Default: none. */ maxHeight?: number | string; /** Rendered when data is null/undefined/empty. Default: "—". */ emptyContent?: ReactNode; className?: string; } export declare function JsonViewer({ data, collapsible, defaultCollapsed, copyable, searchable, maxHeight, emptyContent, className, }: JsonViewerProps): import("react").JSX.Element; //# sourceMappingURL=JsonViewer.d.ts.map