import { type ComponentPropsWithoutRef, type ReactNode } from "react";
export interface XmlViewerProps extends Omit<ComponentPropsWithoutRef<"div">, "title" | "children"> {
    /** Raw XML string. */
    data: string;
    /** Initially expand to N levels deep. Default 2. Use `Infinity` to expand everything. */
    defaultExpandDepth?: number;
    /** Show attributes inline (vs. collapsed). Default true. */
    showAttributes?: boolean;
    /** Show a copy button on hover for each element (copies the serialized subtree). */
    copyable?: boolean;
    /** Optional title. */
    title?: ReactNode;
    /** Optional status pill next to title. */
    status?: ReactNode;
    /** Maximum length for text node display. */
    truncateAt?: number;
    /** Fixed body height — number → pixels, string → any CSS length. */
    height?: number | string;
    /** Upper bound on body height; ignored when `height` is set. */
    maxHeight?: number | string;
}
/**
 * Read-only XML viewer with collapsible elements, attribute chips, and
 * type-tinted text / CDATA / comment / processing-instruction nodes.
 */
export declare const XmlViewer: import("react").ForwardRefExoticComponent<XmlViewerProps & import("react").RefAttributes<HTMLDivElement>>;
//# sourceMappingURL=XmlViewer.d.ts.map