/**
 * Update mutation hook for User
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { UserSelect, UserWithRelations, UserPatch } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { UserSelect, UserWithRelations, UserPatch } from '../../orm/input-types';
/**
 * Mutation hook for updating a User
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useUpdateUserMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ id: 'value-here', userPatch: { name: 'Updated' } });
 * ```
 */
export declare function useUpdateUserMutation<S extends UserSelect>(params: {
    selection: {
        fields: S & UserSelect;
    } & HookStrictSelect<NoInfer<S>, UserSelect>;
} & Omit<UseMutationOptions<{
    updateUser: {
        user: InferSelectResult<UserWithRelations, S>;
    };
}, Error, {
    id: string;
    userPatch: UserPatch;
}>, 'mutationFn'>): UseMutationResult<{
    updateUser: {
        user: InferSelectResult<UserWithRelations, S>;
    };
}, Error, {
    id: string;
    userPatch: UserPatch;
}>;
