/**
 * Create mutation hook for NamespaceModule
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { NamespaceModuleSelect, NamespaceModuleWithRelations, CreateNamespaceModuleInput } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { NamespaceModuleSelect, NamespaceModuleWithRelations, CreateNamespaceModuleInput, } from '../../orm/input-types';
/**
 * Mutation hook for creating a NamespaceModule
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useCreateNamespaceModuleMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ name: 'New item' });
 * ```
 */
export declare function useCreateNamespaceModuleMutation<S extends NamespaceModuleSelect>(params: {
    selection: {
        fields: S & NamespaceModuleSelect;
    } & HookStrictSelect<NoInfer<S>, NamespaceModuleSelect>;
} & Omit<UseMutationOptions<{
    createNamespaceModule: {
        namespaceModule: InferSelectResult<NamespaceModuleWithRelations, S>;
    };
}, Error, CreateNamespaceModuleInput['namespaceModule']>, 'mutationFn'>): UseMutationResult<{
    createNamespaceModule: {
        namespaceModule: InferSelectResult<NamespaceModuleWithRelations, S>;
    };
}, Error, CreateNamespaceModuleInput['namespaceModule']>;
