/**
 * Update mutation hook for HttpRouteModule
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { HttpRouteModuleSelect, HttpRouteModuleWithRelations, HttpRouteModulePatch } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { HttpRouteModuleSelect, HttpRouteModuleWithRelations, HttpRouteModulePatch, } from '../../orm/input-types';
/**
 * Mutation hook for updating a HttpRouteModule
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useUpdateHttpRouteModuleMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ id: 'value-here', httpRouteModulePatch: { name: 'Updated' } });
 * ```
 */
export declare function useUpdateHttpRouteModuleMutation<S extends HttpRouteModuleSelect>(params: {
    selection: {
        fields: S & HttpRouteModuleSelect;
    } & HookStrictSelect<NoInfer<S>, HttpRouteModuleSelect>;
} & Omit<UseMutationOptions<{
    updateHttpRouteModule: {
        httpRouteModule: InferSelectResult<HttpRouteModuleWithRelations, S>;
    };
}, Error, {
    id: string;
    httpRouteModulePatch: HttpRouteModulePatch;
}>, 'mutationFn'>): UseMutationResult<{
    updateHttpRouteModule: {
        httpRouteModule: InferSelectResult<HttpRouteModuleWithRelations, S>;
    };
}, Error, {
    id: string;
    httpRouteModulePatch: HttpRouteModulePatch;
}>;
