/**
 * Update 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, EnumPatch } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { EnumSelect, EnumWithRelations, EnumPatch } from '../../orm/input-types';
/**
 * Mutation hook for updating a Enum
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useUpdateEnumMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ id: 'value-here', enumPatch: { name: 'Updated' } });
 * ```
 */
export declare function useUpdateEnumMutation<S extends EnumSelect>(params: {
    selection: {
        fields: S & EnumSelect;
    } & HookStrictSelect<NoInfer<S>, EnumSelect>;
} & Omit<UseMutationOptions<{
    updateEnum: {
        enum: InferSelectResult<EnumWithRelations, S>;
    };
}, Error, {
    id: string;
    enumPatch: EnumPatch;
}>, 'mutationFn'>): UseMutationResult<{
    updateEnum: {
        enum: InferSelectResult<EnumWithRelations, S>;
    };
}, Error, {
    id: string;
    enumPatch: EnumPatch;
}>;
