/**
 * 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, HttpRoutePatch } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { HttpRouteSelect, HttpRouteWithRelations, HttpRoutePatch, } 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 } = useUpdateHttpRouteMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ id: 'value-here', httpRoutePatch: { name: 'Updated' } });
 * ```
 */
export declare function useUpdateHttpRouteMutation<S extends HttpRouteSelect>(params: {
    selection: {
        fields: S & HttpRouteSelect;
    } & HookStrictSelect<NoInfer<S>, HttpRouteSelect>;
} & Omit<UseMutationOptions<{
    updateHttpRoute: {
        httpRoute: InferSelectResult<HttpRouteWithRelations, S>;
    };
}, Error, {
    id: string;
    httpRoutePatch: HttpRoutePatch;
}>, 'mutationFn'>): UseMutationResult<{
    updateHttpRoute: {
        httpRoute: InferSelectResult<HttpRouteWithRelations, S>;
    };
}, Error, {
    id: string;
    httpRoutePatch: HttpRoutePatch;
}>;
