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