/**
 * 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 { ListSelectionConfig } from '../selection';
import type { PhoneNumberSelect, PhoneNumberWithRelations, PhoneNumberFilter, PhoneNumberOrderBy } from '../../orm/input-types';
import type { InferSelectResult, ConnectionResult, HookStrictSelect } from '../../orm/select-types';
export type { PhoneNumberSelect, PhoneNumberWithRelations, PhoneNumberFilter, PhoneNumberOrderBy, } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const phoneNumbersQueryKey: (variables?: object) => readonly ["phonenumber", "list", object];
/**
 * User phone numbers with country code, verification, and primary-number management
 *
 * @example
 * ```tsx
 * const { data, isLoading } = usePhoneNumbersQuery({
 *   selection: {
 *     fields: { id: true, name: true },
 *     where: { name: { equalTo: "example" } },
 *     orderBy: ['CREATED_AT_DESC'],
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function usePhoneNumbersQuery<S extends PhoneNumberSelect, TData = {
    phoneNumbers: ConnectionResult<InferSelectResult<PhoneNumberWithRelations, S>>;
}>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, PhoneNumberFilter, PhoneNumberOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, PhoneNumberSelect>;
} & Omit<UseQueryOptions<{
    phoneNumbers: ConnectionResult<InferSelectResult<PhoneNumberWithRelations, S>>;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * User phone numbers with country code, verification, and primary-number management
 *
 * @example
 * ```ts
 * const data = await fetchPhoneNumbersQuery({
 *   selection: {
 *     fields: { id: true },
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function fetchPhoneNumbersQuery<S extends PhoneNumberSelect>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, PhoneNumberFilter, PhoneNumberOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, PhoneNumberSelect>;
}): Promise<{
    phoneNumbers: ConnectionResult<InferSelectResult<PhoneNumberWithRelations, S>>;
}>;
/**
 * User phone numbers with country code, verification, and primary-number management
 *
 * @example
 * ```ts
 * await prefetchPhoneNumbersQuery(queryClient, { selection: { fields: { id: true }, first: 10 } });
 * ```
 */
export declare function prefetchPhoneNumbersQuery<S extends PhoneNumberSelect>(queryClient: QueryClient, params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, PhoneNumberFilter, PhoneNumberOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, PhoneNumberSelect>;
}): Promise<void>;
