import { Effect } from "effect"; import type { GitHistoryBlock } from "../../core/types/index.js"; import { type CommitDiffBlock, type CommitInfo } from "./history-helpers.js"; export type { CommitDiffBlock, CommitInfo }; export declare function getGitHistoryBlock(filePath: string, line: number, limit: number): Effect.Effect; /** * Получает блоки diff между последовательными коммитами для указанной строки. * * CHANGE: Refactored to reduce line count using helper functions * WHY: Original function had 111 lines * QUOTE(LINT): "Function has too many lines (111). Maximum allowed is 50" * REF: ESLint max-lines-per-function * SOURCE: n/a * * @param filePath Путь к файлу * @param line Номер строки (1-based) * @param limit Максимальное количество diff блоков (пар коммитов) * @param contextLines Количество строк контекста в unified diff * @returns Массив блоков diff или null при ошибке */ export declare function getCommitDiffBlocks(filePath: string, line: number, limit: number, contextLines?: number): Effect.Effect; //# sourceMappingURL=history.d.ts.map