/**
 * Content-addressed Merkle tree objects keyed by UUID v5 hash of data + children
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { ObjectSelect, ObjectWithRelations, ObjectPatch } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { ObjectSelect, ObjectWithRelations, ObjectPatch } from '../../orm/input-types';
/**
 * Content-addressed Merkle tree objects keyed by UUID v5 hash of data + children
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useUpdateObjectMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ id: 'value-here', objectPatch: { name: 'Updated' } });
 * ```
 */
export declare function useUpdateObjectMutation<S extends ObjectSelect>(params: {
    selection: {
        fields: S & ObjectSelect;
    } & HookStrictSelect<NoInfer<S>, ObjectSelect>;
} & Omit<UseMutationOptions<{
    updateObject: {
        object: InferSelectResult<ObjectWithRelations, S>;
    };
}, Error, {
    id: string;
    databaseId: string;
    objectPatch: ObjectPatch;
}>, 'mutationFn'>): UseMutationResult<{
    updateObject: {
        object: InferSelectResult<ObjectWithRelations, S>;
    };
}, Error, {
    id: string;
    databaseId: string;
    objectPatch: ObjectPatch;
}>;
