export declare function prettyLanguageName(language?: string | null): string | null; export declare function HighlightedCode({ code, language, }: { code: string; language?: string; }): import("react").JSX.Element; /** * Default number of code lines shown before a code surface collapses behind a * "Show N more lines" toggle. Long code panes (read view, code tabs, API specs) * stay scannable instead of dominating the document, matching the rest of the * plan's progressively-disclosed surfaces. */ export declare const DEFAULT_CODE_MAX_LINES = 30; /** * Read-only code surface used across the plan blocks (code tabs, API specs) and * the markdown read view. Syntax-highlights via {@link HighlightedCode} (Shiki, * client-only with a plain `
` SSR fallback), follows the current
 * light/dark `--plan-code` palette, and collapses to `maxLines` with an
 * expand/collapse toggle so long snippets do not run away.
 *
 * `maxLines` of `0` / `null` disables collapsing (show everything). The default
 * is {@link DEFAULT_CODE_MAX_LINES}; the surface only collapses when the code is
 * actually longer than that.
 */
export declare function CodeSurface({ code, language, maxLines, showLanguageLabel, className, }: {
    code: string;
    language?: string;
    maxLines?: number | null;
    showLanguageLabel?: boolean;
    className?: string;
}): import("react").JSX.Element;
//# sourceMappingURL=HighlightedCode.d.ts.map