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