import type { FC, ReactNode } from 'react'; import type { LineConfig } from '../CodeSnippetContext'; import type { FoldRegion } from '../lib/foldUtils'; export type CodeLineProps = { lineConfig: LineConfig | undefined; lineHeightClass: string; /** Show inline gutter elements (color stick, line number, prefix) - used when wrapLines is true */ showInlineGutter?: boolean; /** Line number to display (only shown when showInlineGutter is true) */ lineNumber?: number; /** Fold region starting at this line (only shown when showInlineGutter is true) */ fold?: FoldRegion; /** Whether the fold is collapsed */ isFoldCollapsed?: boolean; /** Callback to toggle the fold */ onFoldToggle?: () => void; /** Whether any folds exist (used to render consistent-width spacer) */ hasFolds?: boolean; children: ReactNode; }; /** Renders a single line of code with styling */ export declare const CodeLine: FC;