import type { SuggestedEdit } from "../../types";
type UpsertSuggestedEditOptions = {
    /**
     * Save acknowledgements should only replace local state if the user has not
     * typed a newer value while the request was in flight.
     */
    expectedNewValue?: string;
    source?: "local" | "save-ack" | "socket";
};
export declare function markSuggestedEditRemoved(id: string): void;
export declare function isSuggestedEditRemoved(id: string): boolean;
export declare function upsertSuggestedEdit(suggestedEdits: SuggestedEdit[], incoming: SuggestedEdit, options?: UpsertSuggestedEditOptions): SuggestedEdit[];
export declare function replacePendingSuggestionForSameField(suggestedEdits: SuggestedEdit[], incoming: SuggestedEdit): SuggestedEdit[];
export {};
