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