/**
 * Create 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, CreateFieldInput } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { FieldSelect, FieldWithRelations, CreateFieldInput } from '../../orm/input-types';
/**
 * Mutation hook for creating a Field
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useCreateFieldMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ name: 'New item' });
 * ```
 */
export declare function useCreateFieldMutation<S extends FieldSelect>(params: {
    selection: {
        fields: S & FieldSelect;
    } & HookStrictSelect<NoInfer<S>, FieldSelect>;
} & Omit<UseMutationOptions<{
    createField: {
        field: InferSelectResult<FieldWithRelations, S>;
    };
}, Error, CreateFieldInput['field']>, 'mutationFn'>): UseMutationResult<{
    createField: {
        field: InferSelectResult<FieldWithRelations, S>;
    };
}, Error, CreateFieldInput['field']>;
