export type ApplyPatchCreateFileOp = {
    type: "create";
    path: string;
    content: string;
};
export type ApplyPatchDeleteFileOp = {
    type: "delete";
    path: string;
};
export type ApplyPatchUpdateFileOp = {
    type: "update";
    path: string;
    update: string;
    added: number;
    deleted: number;
};
export type ApplyPatchOp = ApplyPatchCreateFileOp | ApplyPatchDeleteFileOp | ApplyPatchUpdateFileOp;
/**
 * @returns null when the patch is invalid
 */
export declare function parseApplyPatch(patch: string): Array<ApplyPatchOp> | null;
