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