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