import type { SuggestedEdit } from "../../types";
import type { EditContextType } from "../client/editContext";
type SuggestedEditActionResult = {
    type: "success";
    suggestion: SuggestedEdit;
} | {
    type: "conflict";
    suggestion?: SuggestedEdit;
} | {
    type: "patch-conflict";
} | {
    type: "missing";
} | {
    type: "error";
};
export declare function sha256SuggestedEditFieldValue(value: string): Promise<string>;
export declare function applySuggestedEditPatch(suggestion: SuggestedEdit, editContext: EditContextType): Promise<SuggestedEditActionResult>;
export declare function applyRejectedSuggestedEditPatch(suggestion: SuggestedEdit, editContext: EditContextType): Promise<SuggestedEditActionResult>;
export declare function replaceSuggestedEditCompletely(suggestion: SuggestedEdit, editContext: EditContextType): Promise<SuggestedEditActionResult>;
export declare function rejectSuggestedEditAction(suggestion: SuggestedEdit, editContext: EditContextType): Promise<SuggestedEditActionResult>;
export {};
