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