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