import { type TruncationResult } from "@earendil-works/pi-coding-agent"; import { type FffFileCandidate, type GrepMatch, type GrepOutputMode, type ResolvedPath } from "./types.js"; export declare function cropMatchLine(line: string, ranges: [number, number][] | undefined, maxLen?: number): { text: string; wasTruncated: boolean; }; export declare function isLikelyDefinitionLine(line: string): boolean; export declare function buildGrepText(items: GrepMatch[], options: { limit: number; requestedContext: number; includeCursorHint: boolean; nextCursor?: string; regexFallbackError?: string; outputMode?: GrepOutputMode; }): { text: string; linesTruncated: boolean; matchLimitReached?: number; truncation?: TruncationResult; suggestedReadPath?: string; }; export declare function formatFindFilesText(query: string, items: FffFileCandidate[], options: { totalMatched?: number; totalFiles?: number; nextCursor?: string; pageIndex: number; pageSize: number; }): string; export declare function resolutionSummary(resolution: ResolvedPath): string; export declare function formatCandidateLines(candidates: FffFileCandidate[], max?: number): string[]; //# sourceMappingURL=format.d.ts.map