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