/**
 * User phone numbers with country code, verification, and primary-number management
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { PhoneNumberSelect, PhoneNumberWithRelations, PhoneNumberPatch } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { PhoneNumberSelect, PhoneNumberWithRelations, PhoneNumberPatch, } from '../../orm/input-types';
/**
 * User phone numbers with country code, verification, and primary-number management
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useUpdatePhoneNumberMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ id: 'value-here', phoneNumberPatch: { name: 'Updated' } });
 * ```
 */
export declare function useUpdatePhoneNumberMutation<S extends PhoneNumberSelect>(params: {
    selection: {
        fields: S & PhoneNumberSelect;
    } & HookStrictSelect<NoInfer<S>, PhoneNumberSelect>;
} & Omit<UseMutationOptions<{
    updatePhoneNumber: {
        phoneNumber: InferSelectResult<PhoneNumberWithRelations, S>;
    };
}, Error, {
    id: string;
    phoneNumberPatch: PhoneNumberPatch;
}>, 'mutationFn'>): UseMutationResult<{
    updatePhoneNumber: {
        phoneNumber: InferSelectResult<PhoneNumberWithRelations, S>;
    };
}, Error, {
    id: string;
    phoneNumberPatch: PhoneNumberPatch;
}>;
