/**
 * 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 { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { HttpRouteSelect, HttpRouteWithRelations, CreateHttpRouteInput } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { HttpRouteSelect, HttpRouteWithRelations, CreateHttpRouteInput, } from '../../orm/input-types';
/**
 * Request-time HTTP routing authority: registered domain plus path prefix and optional method to a typed target
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useCreateHttpRouteMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ name: 'New item' });
 * ```
 */
export declare function useCreateHttpRouteMutation<S extends HttpRouteSelect>(params: {
    selection: {
        fields: S & HttpRouteSelect;
    } & HookStrictSelect<NoInfer<S>, HttpRouteSelect>;
} & Omit<UseMutationOptions<{
    createHttpRoute: {
        httpRoute: InferSelectResult<HttpRouteWithRelations, S>;
    };
}, Error, CreateHttpRouteInput['httpRoute']>, 'mutationFn'>): UseMutationResult<{
    createHttpRoute: {
        httpRoute: InferSelectResult<HttpRouteWithRelations, S>;
    };
}, Error, CreateHttpRouteInput['httpRoute']>;
