/**
 * 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 { UseQueryOptions, UseQueryResult, QueryClient } from '@tanstack/react-query';
import type { PhoneNumberSelect, PhoneNumberWithRelations } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { PhoneNumberSelect, PhoneNumberWithRelations } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const phoneNumberQueryKey: (id: string | number) => readonly ["phonenumber", "detail", string | number];
/**
 * User phone numbers with country code, verification, and primary-number management
 *
 * @example
 * ```tsx
 * const { data, isLoading } = usePhoneNumberQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true, name: true } },
 * });
 * ```
 */
export declare function usePhoneNumberQuery<S extends PhoneNumberSelect, TData = {
    phoneNumber: InferSelectResult<PhoneNumberWithRelations, S> | null;
}>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, PhoneNumberSelect>;
} & Omit<UseQueryOptions<{
    phoneNumber: InferSelectResult<PhoneNumberWithRelations, S> | null;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * User phone numbers with country code, verification, and primary-number management
 *
 * @example
 * ```ts
 * const data = await fetchPhoneNumberQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true } },
 * });
 * ```
 */
export declare function fetchPhoneNumberQuery<S extends PhoneNumberSelect>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, PhoneNumberSelect>;
}): Promise<{
    phoneNumber: InferSelectResult<PhoneNumberWithRelations, S> | null;
}>;
/**
 * User phone numbers with country code, verification, and primary-number management
 *
 * @example
 * ```ts
 * await prefetchPhoneNumberQuery(queryClient, { id: 'some-id', selection: { fields: { id: true } } });
 * ```
 */
export declare function prefetchPhoneNumberQuery<S extends PhoneNumberSelect>(queryClient: QueryClient, params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, PhoneNumberSelect>;
}): Promise<void>;
