/**
 * Create mutation hook for DeclaredCapacity
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { DeclaredCapacitySelect, DeclaredCapacityWithRelations, CreateDeclaredCapacityInput } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { DeclaredCapacitySelect, DeclaredCapacityWithRelations, CreateDeclaredCapacityInput, } from '../../orm/input-types';
/**
 * Mutation hook for creating a DeclaredCapacity
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useCreateDeclaredCapacityMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ name: 'New item' });
 * ```
 */
export declare function useCreateDeclaredCapacityMutation<S extends DeclaredCapacitySelect>(params: {
    selection: {
        fields: S & DeclaredCapacitySelect;
    } & HookStrictSelect<NoInfer<S>, DeclaredCapacitySelect>;
} & Omit<UseMutationOptions<{
    createDeclaredCapacity: {
        declaredCapacity: InferSelectResult<DeclaredCapacityWithRelations, S>;
    };
}, Error, CreateDeclaredCapacityInput['declaredCapacity']>, 'mutationFn'>): UseMutationResult<{
    createDeclaredCapacity: {
        declaredCapacity: InferSelectResult<DeclaredCapacityWithRelations, S>;
    };
}, Error, CreateDeclaredCapacityInput['declaredCapacity']>;
