/**
 * Create 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, CreateHttpRouteModuleInput } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { HttpRouteModuleSelect, HttpRouteModuleWithRelations, CreateHttpRouteModuleInput, } from '../../orm/input-types';
/**
 * Mutation hook for creating a HttpRouteModule
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useCreateHttpRouteModuleMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ name: 'New item' });
 * ```
 */
export declare function useCreateHttpRouteModuleMutation<S extends HttpRouteModuleSelect>(params: {
    selection: {
        fields: S & HttpRouteModuleSelect;
    } & HookStrictSelect<NoInfer<S>, HttpRouteModuleSelect>;
} & Omit<UseMutationOptions<{
    createHttpRouteModule: {
        httpRouteModule: InferSelectResult<HttpRouteModuleWithRelations, S>;
    };
}, Error, CreateHttpRouteModuleInput['httpRouteModule']>, 'mutationFn'>): UseMutationResult<{
    createHttpRouteModule: {
        httpRouteModule: InferSelectResult<HttpRouteModuleWithRelations, S>;
    };
}, Error, CreateHttpRouteModuleInput['httpRouteModule']>;
