/**
 * Update mutation hook for Partition
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { PartitionSelect, PartitionWithRelations, PartitionPatch } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { PartitionSelect, PartitionWithRelations, PartitionPatch, } from '../../orm/input-types';
/**
 * Mutation hook for updating a Partition
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useUpdatePartitionMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ id: 'value-here', partitionPatch: { name: 'Updated' } });
 * ```
 */
export declare function useUpdatePartitionMutation<S extends PartitionSelect>(params: {
    selection: {
        fields: S & PartitionSelect;
    } & HookStrictSelect<NoInfer<S>, PartitionSelect>;
} & Omit<UseMutationOptions<{
    updatePartition: {
        partition: InferSelectResult<PartitionWithRelations, S>;
    };
}, Error, {
    id: string;
    partitionPatch: PartitionPatch;
}>, 'mutationFn'>): UseMutationResult<{
    updatePartition: {
        partition: InferSelectResult<PartitionWithRelations, S>;
    };
}, Error, {
    id: string;
    partitionPatch: PartitionPatch;
}>;
