import { CodeBlockTokenType } from '../codeBlock.token'; import { DiffLine, DiffViewSegment } from '../types'; import { DiffRowRenderContext } from '../CodeBlockLineParts'; export type DiffGapExpansionState = { revealedFromTop: number; revealedFromBottom: number; }; export interface CodeBlockDiffViewProps { diffLines: DiffLine[]; diffViewSegments: DiffViewSegment[]; codeContentId: string; tokens: CodeBlockTokenType; rowCtx: DiffRowRenderContext; /** Lines to reveal per click when expanding from the top or bottom of a gap */ diffExpandChunk: number; }