interface PatchJsonOptions {
    setPath?: string;
    setValue?: string;
    addPath?: string;
    addValue?: string;
    delete?: string;
    mergePath?: string;
    mergeValue?: string;
    patches?: string;
    format?: 'text' | 'json';
}
/**
 * Surgically patch a JSON file without loading the full content into AI context.
 *
 * Why this shape:
 * - `全量提交约束`（shared/SKILL.md）要求 draft 必须包含远端所有点位，但 AI 不需要
 *   把所有点位塞进 context——copy remote→draft 后用 patch-json 按 path 精准改动
 * - 和 peek 共享 `segment[field=value]` 路径语法，AI 一套心智覆盖读和写
 * - 每步出错 CLI 返回 exit 1，draft 保留上一步正确状态，便于重试
 */
export declare function patchJson(file: string, opts: PatchJsonOptions): void;
export {};
