/**
 * 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 { FunctionGraphObjectSelect, FunctionGraphObjectWithRelations, FunctionGraphObjectPatch } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { FunctionGraphObjectSelect, FunctionGraphObjectWithRelations, FunctionGraphObjectPatch, } from '../../orm/input-types';
/**
 * Content-addressed Merkle tree objects keyed by UUID v5 hash of data + children
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useUpdateFunctionGraphObjectMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ id: 'value-here', functionGraphObjectPatch: { name: 'Updated' } });
 * ```
 */
export declare function useUpdateFunctionGraphObjectMutation<S extends FunctionGraphObjectSelect>(params: {
    selection: {
        fields: S & FunctionGraphObjectSelect;
    } & HookStrictSelect<NoInfer<S>, FunctionGraphObjectSelect>;
} & Omit<UseMutationOptions<{
    updateFunctionGraphObject: {
        functionGraphObject: InferSelectResult<FunctionGraphObjectWithRelations, S>;
    };
}, Error, {
    id: string;
    databaseId: string;
    functionGraphObjectPatch: FunctionGraphObjectPatch;
}>, 'mutationFn'>): UseMutationResult<{
    updateFunctionGraphObject: {
        functionGraphObject: InferSelectResult<FunctionGraphObjectWithRelations, S>;
    };
}, Error, {
    id: string;
    databaseId: string;
    functionGraphObjectPatch: FunctionGraphObjectPatch;
}>;
