import { Raw } from '@vscode/prompt-tsx'; import { OffsetRange } from '../../../util/vs/editor/common/core/ranges/offsetRange'; /** * Remove backticks on the first and last lines. */ export declare function linesWithBackticksRemoved(linesStream: AsyncIterable): AsyncIterable; export declare function constructMessages({ systemMsg, userMsg }: { systemMsg: string; userMsg: string; }): Raw.ChatMessage[]; export declare function charCount(messages: Raw.ChatMessage[]): number; /** * Finds the range of lines containing merge conflict markers within a specified edit window. * * @param lines - Array of strings representing the lines of text to search through * @param editWindowRange - The range within which to search for merge conflict markers * @param maxMergeConflictLines - Maximum number of lines to search for conflict markers * @returns An OffsetRange object representing the start and end of the conflict markers, or undefined if not found */ export declare function findMergeConflictMarkersRange(lines: string[], editWindowRange: OffsetRange, maxMergeConflictLines: number): OffsetRange | undefined; //# sourceMappingURL=xtabUtils.d.ts.map