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