import type { CodeMirrorTextSelection } from '../../lib/fileSelectionContext';
export type CodeMirrorLineTone = 'add' | 'remove' | 'primary';
type CodeMirrorLineNumberFormatter = (lineNumber: number) => string;
interface CodeMirrorViewerProps {
    content: string;
    path?: string;
    className?: string;
    highlightedLines?: Set<number>;
    highlightTone?: CodeMirrorLineTone;
    lineTones?: Map<number, CodeMirrorLineTone>;
    scrollToLine?: number;
    scrollToEndSignal?: string | number;
    disableMarkdownSyntax?: boolean;
    lineNumberFormatter?: CodeMirrorLineNumberFormatter;
    onSelectionChange?: (selection: CodeMirrorTextSelection | null) => void;
}
export declare function CodeMirrorViewer({ content, path, className, highlightedLines, highlightTone, lineTones, scrollToLine, scrollToEndSignal, disableMarkdownSyntax, lineNumberFormatter, onSelectionChange, }: CodeMirrorViewerProps): import("react/jsx-runtime").JSX.Element;
export {};
//# sourceMappingURL=CodeMirrorViewer.d.ts.map