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