/**
 * Custom query hook for resolveHttpRoute
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseQueryOptions, UseQueryResult, QueryClient } from '@tanstack/react-query';
import type { ResolveHttpRouteVariables } from '../../orm/query';
import type { ResolveHttpRouteRecordSelect, ResolveHttpRouteRecord } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { ResolveHttpRouteVariables } from '../../orm/query';
export type { ResolveHttpRouteRecordSelect } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const resolveHttpRouteQueryKey: (variables?: object) => readonly ["resolveHttpRoute", object];
/**
 * Query hook for resolveHttpRoute
 *
 * @example
 * ```tsx
 * const { data, isLoading } = useResolveHttpRouteQuery({ variables: { pHost, pMethod, pPath }, selection: { fields: { id: true } } });
 *
 * if (data?.resolveHttpRoute) {
 *   console.log(data.resolveHttpRoute);
 * }
 * ```
 */
export declare function useResolveHttpRouteQuery<S extends ResolveHttpRouteRecordSelect, TData = {
    resolveHttpRoute: InferSelectResult<ResolveHttpRouteRecord, S> | null;
}>(params: {
    variables?: ResolveHttpRouteVariables;
    selection: {
        fields: S & ResolveHttpRouteRecordSelect;
    } & HookStrictSelect<NoInfer<S>, ResolveHttpRouteRecordSelect>;
} & Omit<UseQueryOptions<{
    resolveHttpRoute: InferSelectResult<ResolveHttpRouteRecord, S> | null;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Fetch resolveHttpRoute without React hooks
 *
 * @example
 * ```ts
 * const data = await fetchResolveHttpRouteQuery({ variables: { pHost, pMethod, pPath }, selection: { fields: { id: true } } });
 * ```
 */
export declare function fetchResolveHttpRouteQuery<S extends ResolveHttpRouteRecordSelect>(params: {
    variables?: ResolveHttpRouteVariables;
    selection: {
        fields: S & ResolveHttpRouteRecordSelect;
    } & HookStrictSelect<NoInfer<S>, ResolveHttpRouteRecordSelect>;
}): Promise<{
    resolveHttpRoute: InferSelectResult<ResolveHttpRouteRecord, S> | null;
}>;
/**
 * Prefetch resolveHttpRoute for SSR or cache warming
 *
 * @example
 * ```ts
 * await prefetchResolveHttpRouteQuery(queryClient, { variables: { pHost, pMethod, pPath }, selection: { fields: { id: true } } });
 * ```
 */
export declare function prefetchResolveHttpRouteQuery<S extends ResolveHttpRouteRecordSelect>(queryClient: QueryClient, params: {
    variables?: ResolveHttpRouteVariables;
    selection: {
        fields: S & ResolveHttpRouteRecordSelect;
    } & HookStrictSelect<NoInfer<S>, ResolveHttpRouteRecordSelect>;
}): Promise<void>;
