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