import type { Tool } from '../core/tools/tool-types.js'; export interface PatchFileState { path: string; displayPath: string; originalExists: boolean; originalContent: string | null; nextContent?: string | null; } export declare function containsNul(bytes: Uint8Array): boolean; export declare function decodePatchTarget(bytes: Uint8Array, displayPath: string): string; export declare function dominantLineEnding(original: string): '\n' | '\r\n' | null; export declare function restoreDominantLineEndings(content: string, original: string): string; export declare const applyPatchTool: Tool; //# sourceMappingURL=patch-tool.d.ts.map