/** * Syntax-highlighted, copyable code block powered by Shiki (already a dep). * Shiki is lazy-imported on mount so it stays out of the main bundle, and we * emit a dual light/dark theme (CSS-variable driven — see the `.shiki` rules in * v2.css) so it tracks the v2 theme toggle. Falls back to plain
 until the
 * highlighter resolves (or if it fails).
 */
export declare function CodeBlock({ code, lang, className, maxHeightClass, showCopy, bare, wrap, }: {
    code: string;
    lang?: string;
    className?: string;
    maxHeightClass?: string;
    /** Built-in top-right copy button. Turn off to place your own, non-overlapping. */
    showCopy?: boolean;
    /** Drop the border/rounding so the block can sit inside another container. */
    bare?: boolean;
    /** Wrap long lines instead of requiring horizontal scrolling. */
    wrap?: boolean;
}): import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=code-block.d.ts.map