interface UseEntityMutationHandlersOptions {
    entity: any;
    contextEntity: any;
    crateManager: any;
    approvalContext: any;
    state: any;
    onLoadEntityWithContext: (params: {
        id: string;
        updateState?: boolean;
    }) => void;
    refresh: () => void;
    saveCratePreservingView: () => void;
    notifySave: (property: string) => void;
    onWarning: () => void;
    onError: () => void;
}
declare const useEntityMutationHandlers: ({ entity, contextEntity, crateManager, approvalContext, state, onLoadEntityWithContext, refresh, saveCratePreservingView, notifySave, onWarning, onError, }: UseEntityMutationHandlersOptions) => {
    handleAcceptAiEntityUnlink: (data: {
        sourceEntityId: string;
        property: string;
        targetEntityId: string;
    }) => void;
    handleCreateEntity: (data: any) => any;
    handleCreateProperty: (data: {
        property: string;
        propertyId?: string;
        value: any;
    }) => void;
    handleDeleteEntity: (data: {
        id: string;
    }) => void;
    handleDeleteProperty: (data: {
        property: string;
        idx: number;
    }) => void;
    handleLinkEntity: (data: any) => void;
    handleRejectAiEntityUnlink: (data: {
        sourceEntityId: string;
        property: string;
        targetEntityId: string;
    }) => void;
    handleUnlinkEntity: (data: {
        property: string;
        tgtEntityId: string;
    }) => void;
    handleUpdateContext: (context: any) => void;
    handleUpdateEntity: (data: {
        property: string;
        value: any;
    }) => void;
};
export default useEntityMutationHandlers;
