/**
 * Update 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, CompositeTypePatch } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { CompositeTypeSelect, CompositeTypeWithRelations, CompositeTypePatch, } from '../../orm/input-types';
/**
 * Mutation hook for updating a CompositeType
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useUpdateCompositeTypeMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ id: 'value-here', compositeTypePatch: { name: 'Updated' } });
 * ```
 */
export declare function useUpdateCompositeTypeMutation<S extends CompositeTypeSelect>(params: {
    selection: {
        fields: S & CompositeTypeSelect;
    } & HookStrictSelect<NoInfer<S>, CompositeTypeSelect>;
} & Omit<UseMutationOptions<{
    updateCompositeType: {
        compositeType: InferSelectResult<CompositeTypeWithRelations, S>;
    };
}, Error, {
    id: string;
    compositeTypePatch: CompositeTypePatch;
}>, 'mutationFn'>): UseMutationResult<{
    updateCompositeType: {
        compositeType: InferSelectResult<CompositeTypeWithRelations, S>;
    };
}, Error, {
    id: string;
    compositeTypePatch: CompositeTypePatch;
}>;
