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