import type { JSX } from 'react'; export type XmlViewerAppearance = 'dark' | 'light'; export interface XmlViewerProps { xml: string; size?: 'xs' | 'sm' | 'md' | 'lg'; /** Initial appearance. The user can toggle it via the kebab menu; defaults to 'dark'. */ appearance?: XmlViewerAppearance; /** * When set, the user's appearance/view-mode/wrap choices are persisted to * localStorage under `${storageKey}:appearance` etc. */ storageKey?: string; /** * Removes the outer border, shadow and corner radius, so the viewer sits * flush in a container that already provides its own framing (e.g. a * modal). */ borderless?: boolean; } export declare function XmlViewer({ xml, size, appearance, storageKey, borderless, }: XmlViewerProps): JSX.Element;