import { type ComponentPropsWithoutRef, type ReactNode } from "react";
export interface JsonViewerProps extends Omit<ComponentPropsWithoutRef<"div">, "title"> {
    data: unknown;
    /** Initially expand to N levels deep. Default 2. */
    defaultExpandDepth?: number;
    /** Show array indexes. Default true. */
    showIndexes?: boolean;
    /** Show a copy button on hover for each leaf value. */
    copyable?: boolean;
    /** Optional title. */
    title?: ReactNode;
    /** Optional status pill next to title. */
    status?: ReactNode;
    /** Limit each string value display length. */
    truncateAt?: number;
    /** Fixed body height — number → pixels, string → any CSS length.
     * The inner tree scrolls vertically when content exceeds the bound. */
    height?: number | string;
    /** Upper bound on body height. Same shape as `height`; lets the body
     * grow up to the cap before scrolling kicks in. Ignored when `height`
     * is set (height takes precedence). */
    maxHeight?: number | string;
}
/**
 * Read-only JSON tree viewer with collapsible nodes, type-tinted values,
 * mono font for keys, and optional copy buttons on leaves.
 */
export declare const JsonViewer: import("react").ForwardRefExoticComponent<JsonViewerProps & import("react").RefAttributes<HTMLDivElement>>;
//# sourceMappingURL=JsonViewer.d.ts.map