/**
 * List query hook for PhoneNumbersModule
 * @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 { PhoneNumbersModuleSelect, PhoneNumbersModuleWithRelations, PhoneNumbersModuleFilter, PhoneNumbersModuleOrderBy } from '../../orm/input-types';
import type { InferSelectResult, ConnectionResult, HookStrictSelect } from '../../orm/select-types';
export type { PhoneNumbersModuleSelect, PhoneNumbersModuleWithRelations, PhoneNumbersModuleFilter, PhoneNumbersModuleOrderBy, } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const phoneNumbersModulesQueryKey: (variables?: object) => readonly ["phonenumbersmodule", "list", object];
/**
 * Query hook for fetching PhoneNumbersModule list
 *
 * @example
 * ```tsx
 * const { data, isLoading } = usePhoneNumbersModulesQuery({
 *   selection: {
 *     fields: { id: true, name: true },
 *     where: { name: { equalTo: "example" } },
 *     orderBy: ['CREATED_AT_DESC'],
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function usePhoneNumbersModulesQuery<S extends PhoneNumbersModuleSelect, TData = {
    phoneNumbersModules: ConnectionResult<InferSelectResult<PhoneNumbersModuleWithRelations, S>>;
}>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, PhoneNumbersModuleFilter, PhoneNumbersModuleOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, PhoneNumbersModuleSelect>;
} & Omit<UseQueryOptions<{
    phoneNumbersModules: ConnectionResult<InferSelectResult<PhoneNumbersModuleWithRelations, S>>;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Fetch PhoneNumbersModule list without React hooks
 *
 * @example
 * ```ts
 * const data = await fetchPhoneNumbersModulesQuery({
 *   selection: {
 *     fields: { id: true },
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function fetchPhoneNumbersModulesQuery<S extends PhoneNumbersModuleSelect>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, PhoneNumbersModuleFilter, PhoneNumbersModuleOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, PhoneNumbersModuleSelect>;
}): Promise<{
    phoneNumbersModules: ConnectionResult<InferSelectResult<PhoneNumbersModuleWithRelations, S>>;
}>;
/**
 * Prefetch PhoneNumbersModule list for SSR or cache warming
 *
 * @example
 * ```ts
 * await prefetchPhoneNumbersModulesQuery(queryClient, { selection: { fields: { id: true }, first: 10 } });
 * ```
 */
export declare function prefetchPhoneNumbersModulesQuery<S extends PhoneNumbersModuleSelect>(queryClient: QueryClient, params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, PhoneNumbersModuleFilter, PhoneNumbersModuleOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, PhoneNumbersModuleSelect>;
}): Promise<void>;
