/**
 * Request-time HTTP routing authority: registered domain plus path prefix and optional method to a typed target
 * @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 { HttpRouteSelect, HttpRouteWithRelations, HttpRouteFilter, HttpRouteOrderBy } from '../../orm/input-types';
import type { InferSelectResult, ConnectionResult, HookStrictSelect } from '../../orm/select-types';
export type { HttpRouteSelect, HttpRouteWithRelations, HttpRouteFilter, HttpRouteOrderBy, } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const httpRoutesQueryKey: (variables?: object) => readonly ["httproute", "list", object];
/**
 * Request-time HTTP routing authority: registered domain plus path prefix and optional method to a typed target
 *
 * @example
 * ```tsx
 * const { data, isLoading } = useHttpRoutesQuery({
 *   selection: {
 *     fields: { id: true, name: true },
 *     where: { name: { equalTo: "example" } },
 *     orderBy: ['CREATED_AT_DESC'],
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function useHttpRoutesQuery<S extends HttpRouteSelect, TData = {
    httpRoutes: ConnectionResult<InferSelectResult<HttpRouteWithRelations, S>>;
}>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, HttpRouteFilter, HttpRouteOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, HttpRouteSelect>;
} & Omit<UseQueryOptions<{
    httpRoutes: ConnectionResult<InferSelectResult<HttpRouteWithRelations, S>>;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Request-time HTTP routing authority: registered domain plus path prefix and optional method to a typed target
 *
 * @example
 * ```ts
 * const data = await fetchHttpRoutesQuery({
 *   selection: {
 *     fields: { id: true },
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function fetchHttpRoutesQuery<S extends HttpRouteSelect>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, HttpRouteFilter, HttpRouteOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, HttpRouteSelect>;
}): Promise<{
    httpRoutes: ConnectionResult<InferSelectResult<HttpRouteWithRelations, S>>;
}>;
/**
 * Request-time HTTP routing authority: registered domain plus path prefix and optional method to a typed target
 *
 * @example
 * ```ts
 * await prefetchHttpRoutesQuery(queryClient, { selection: { fields: { id: true }, first: 10 } });
 * ```
 */
export declare function prefetchHttpRoutesQuery<S extends HttpRouteSelect>(queryClient: QueryClient, params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, HttpRouteFilter, HttpRouteOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, HttpRouteSelect>;
}): Promise<void>;
