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