@gguf/claw
Version:
Multi-channel AI gateway with extensible messaging integrations
11 lines (10 loc) • 313 B
TypeScript
type UpdateFileChunk = {
changeContext?: string;
oldLines: string[];
newLines: string[];
isEndOfFile: boolean;
};
export declare function applyUpdateHunk(filePath: string, chunks: UpdateFileChunk[], options?: {
readFile?: (filePath: string) => Promise<string>;
}): Promise<string>;
export {};