/**
 * Update mutation hook for Field
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { FieldSelect, FieldWithRelations, FieldPatch } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { FieldSelect, FieldWithRelations, FieldPatch } from '../../orm/input-types';
/**
 * Mutation hook for updating a Field
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useUpdateFieldMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ id: 'value-here', fieldPatch: { name: 'Updated' } });
 * ```
 */
export declare function useUpdateFieldMutation<S extends FieldSelect>(params: {
    selection: {
        fields: S & FieldSelect;
    } & HookStrictSelect<NoInfer<S>, FieldSelect>;
} & Omit<UseMutationOptions<{
    updateField: {
        field: InferSelectResult<FieldWithRelations, S>;
    };
}, Error, {
    id: string;
    fieldPatch: FieldPatch;
}>, 'mutationFn'>): UseMutationResult<{
    updateField: {
        field: InferSelectResult<FieldWithRelations, S>;
    };
}, Error, {
    id: string;
    fieldPatch: FieldPatch;
}>;
