/**
 * Single item query hook for BillingProviderModule
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseQueryOptions, UseQueryResult, QueryClient } from '@tanstack/react-query';
import type { BillingProviderModuleSelect, BillingProviderModuleWithRelations } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { BillingProviderModuleSelect, BillingProviderModuleWithRelations, } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const billingProviderModuleQueryKey: (id: string | number) => readonly ["billingprovidermodule", "detail", string | number];
/**
 * Query hook for fetching a single BillingProviderModule
 *
 * @example
 * ```tsx
 * const { data, isLoading } = useBillingProviderModuleQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true, name: true } },
 * });
 * ```
 */
export declare function useBillingProviderModuleQuery<S extends BillingProviderModuleSelect, TData = {
    billingProviderModule: InferSelectResult<BillingProviderModuleWithRelations, S> | null;
}>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, BillingProviderModuleSelect>;
} & Omit<UseQueryOptions<{
    billingProviderModule: InferSelectResult<BillingProviderModuleWithRelations, S> | null;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Fetch a single BillingProviderModule without React hooks
 *
 * @example
 * ```ts
 * const data = await fetchBillingProviderModuleQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true } },
 * });
 * ```
 */
export declare function fetchBillingProviderModuleQuery<S extends BillingProviderModuleSelect>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, BillingProviderModuleSelect>;
}): Promise<{
    billingProviderModule: InferSelectResult<BillingProviderModuleWithRelations, S> | null;
}>;
/**
 * Prefetch a single BillingProviderModule for SSR or cache warming
 *
 * @example
 * ```ts
 * await prefetchBillingProviderModuleQuery(queryClient, { id: 'some-id', selection: { fields: { id: true } } });
 * ```
 */
export declare function prefetchBillingProviderModuleQuery<S extends BillingProviderModuleSelect>(queryClient: QueryClient, params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, BillingProviderModuleSelect>;
}): Promise<void>;
