import type { FC } from 'react'; import type { Token } from '../adapters/types'; import type { LineConfig } from '../CodeSnippetContext'; import type { FoldRegion } from '../lib/foldUtils'; export type TokenizedCodeLineProps = { tokens: Token[]; 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 */ fold?: FoldRegion; /** Whether the fold is collapsed */ isFoldCollapsed?: boolean; /** Callback to toggle the fold */ onFoldToggle?: () => void; /** Whether any folds exist */ hasFolds?: boolean; }; /** Renders a line of tokenized code with syntax highlighting */ export declare const TokenizedCodeLine: FC;