/** CodeBlock — code or a raw payload, shown exactly as it came (W2 §The Kit). * No highlighting (a parser is a dependency) and no copy button (the clipboard * is a permission the jail does not have). */ import { type KitStyled } from "../tokens.js"; export interface CodeBlockProps extends KitStyled { /** The code / payload to show. */ code?: string; /** Language label for the chip, e.g. "json". */ language?: string; /** Soft-wrap long lines instead of scrolling them sideways — what a prose-ish * payload (an error message, a log line) wants, where code wants the scroll. */ wrap?: boolean; /** Cap the block's height in px. Past it the block scrolls; without it a * 2,000-line payload pushes everything after it below the fold. */ maxHeight?: number; } export declare function CodeBlock({ code, language, wrap, maxHeight, style }: CodeBlockProps): import("react").JSX.Element;