export interface StrReplaceInputParams { command: string; path: string; view_range?: [number, number]; old_str?: string; new_str?: string; file_text?: string; insert_line?: number; insert_text?: string; } /** * Normalizes a path by removing the /repo/ prefix if present. * This supports both absolute paths (/repo/...) and relative paths. * * @param filePath - The path to normalize (can be /repo/path/to/file or path/to/file) * @returns The normalized relative path from repository root * * @example * normalizePath('/repo/tests/foo.spec.ts') // returns 'tests/foo.spec.ts' * normalizePath('tests/foo.spec.ts') // returns 'tests/foo.spec.ts' * normalizePath('/repo/./tests/foo.spec.ts') // returns 'tests/foo.spec.ts' */ export declare function normalizePath(filePath: string): string; export declare function formatLinesWithNumbers(content: string, viewRange?: [number, number]): string; export declare function isBinaryFile(filePath: string): boolean; export declare function getUniqueOccurences(contents: string, old_str: string): { uniqueContext: string; lineNumber: number; }[]; //# sourceMappingURL=helpers.d.ts.map