import { type ComponentPropsWithoutRef, type ReactNode } from "react";
export interface YamlViewerProps extends Omit<ComponentPropsWithoutRef<"div">, "title" | "children"> {
    /** Raw YAML string OR a parsed object/array (auto-stringified to YAML). */
    data: string | unknown;
    /** Initially expand to N levels deep. Default 99 (fully expanded). */
    defaultExpandDepth?: number;
    /** Show line numbers at the gutter. Default true. */
    showLineNumbers?: boolean;
    /** Show a copy-document button in the header. */
    copyable?: boolean;
    /** Wrap long values instead of truncating off-screen. Default false. */
    wrap?: boolean;
    /** Optional title. */
    title?: ReactNode;
    /** Optional status pill next to title. */
    status?: ReactNode;
    /** 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 YAML viewer — keys highlighted, values type-tinted, comments
 * grayed, optional gutter line numbers, foldable blocks.
 */
export declare const YamlViewer: import("react").ForwardRefExoticComponent<YamlViewerProps & import("react").RefAttributes<HTMLDivElement>>;
//# sourceMappingURL=YamlViewer.d.ts.map