interface JSONViewerProps { data?: unknown; /** Collapse all nodes by default */ collapsed?: boolean; /** Expand nodes up to this depth (0 = only root). Ignored when collapsed. */ defaultExpandDepth?: number; /** Show toolbar (copy / expand / collapse) */ showToolbar?: boolean; /** Root label in the header */ label?: string; /** Max height; scrolls inside */ maxHeight?: string; class?: string; oncopy?: (json: string) => void; } declare const JSONViewer: import("svelte").Component; type JSONViewer = ReturnType; export default JSONViewer;