import { default as React } from 'react'; export interface CodeSnippetProps { /** * Content to display inside the snippet. * For multi-line code, pass a plain string as children. */ children: React.ReactNode; /** * Text value to place in the clipboard when the copy button is clicked. * Falls back to the rendered text content of the snippet when omitted. */ copyValue?: string; /** * Maximum number of visible lines before the snippet is collapsed. * When omitted, all content is always visible. */ maxLines?: number; /** * When true, the URL-safe font (Inter) is used instead of JetBrains Mono. * @default false */ isUrl?: boolean; /** * Called after the content has been successfully copied to the clipboard. */ onCopy?: () => void; /** * Called when copying to the clipboard fails (e.g. permission denied or API unavailable). */ onCopyError?: (error: unknown) => void; } export declare const CodeSnippet: React.FC;