/**
 * Delete 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 } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { EnumSelect, EnumWithRelations } from '../../orm/input-types';
/**
 * Mutation hook for deleting a Enum with typed selection
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useDeleteEnumMutation({
 *   selection: { fields: { id: true } },
 * });
 *
 * mutate({ id: 'value-to-delete' });
 * ```
 */
export declare function useDeleteEnumMutation<S extends EnumSelect>(params: {
    selection: {
        fields: S & EnumSelect;
    } & HookStrictSelect<NoInfer<S>, EnumSelect>;
} & Omit<UseMutationOptions<{
    deleteEnum: {
        enum: InferSelectResult<EnumWithRelations, S>;
    };
}, Error, {
    id: string;
}>, 'mutationFn'>): UseMutationResult<{
    deleteEnum: {
        enum: InferSelectResult<EnumWithRelations, S>;
    };
}, Error, {
    id: string;
}>;
