/**
 * Single item 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 { PhoneNumbersModuleSelect, PhoneNumbersModuleWithRelations } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { PhoneNumbersModuleSelect, PhoneNumbersModuleWithRelations, } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const phoneNumbersModuleQueryKey: (id: string | number) => readonly ["phonenumbersmodule", "detail", string | number];
/**
 * Query hook for fetching a single PhoneNumbersModule
 *
 * @example
 * ```tsx
 * const { data, isLoading } = usePhoneNumbersModuleQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true, name: true } },
 * });
 * ```
 */
export declare function usePhoneNumbersModuleQuery<S extends PhoneNumbersModuleSelect, TData = {
    phoneNumbersModule: InferSelectResult<PhoneNumbersModuleWithRelations, S> | null;
}>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, PhoneNumbersModuleSelect>;
} & Omit<UseQueryOptions<{
    phoneNumbersModule: InferSelectResult<PhoneNumbersModuleWithRelations, S> | null;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Fetch a single PhoneNumbersModule without React hooks
 *
 * @example
 * ```ts
 * const data = await fetchPhoneNumbersModuleQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true } },
 * });
 * ```
 */
export declare function fetchPhoneNumbersModuleQuery<S extends PhoneNumbersModuleSelect>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, PhoneNumbersModuleSelect>;
}): Promise<{
    phoneNumbersModule: InferSelectResult<PhoneNumbersModuleWithRelations, S> | null;
}>;
/**
 * Prefetch a single PhoneNumbersModule for SSR or cache warming
 *
 * @example
 * ```ts
 * await prefetchPhoneNumbersModuleQuery(queryClient, { id: 'some-id', selection: { fields: { id: true } } });
 * ```
 */
export declare function prefetchPhoneNumbersModuleQuery<S extends PhoneNumbersModuleSelect>(queryClient: QueryClient, params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, PhoneNumbersModuleSelect>;
}): Promise<void>;
