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