/**
 * Delete 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 } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { PartitionSelect, PartitionWithRelations } from '../../orm/input-types';
/**
 * Mutation hook for deleting a Partition with typed selection
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useDeletePartitionMutation({
 *   selection: { fields: { id: true } },
 * });
 *
 * mutate({ id: 'value-to-delete' });
 * ```
 */
export declare function useDeletePartitionMutation<S extends PartitionSelect>(params: {
    selection: {
        fields: S & PartitionSelect;
    } & HookStrictSelect<NoInfer<S>, PartitionSelect>;
} & Omit<UseMutationOptions<{
    deletePartition: {
        partition: InferSelectResult<PartitionWithRelations, S>;
    };
}, Error, {
    id: string;
}>, 'mutationFn'>): UseMutationResult<{
    deletePartition: {
        partition: InferSelectResult<PartitionWithRelations, S>;
    };
}, Error, {
    id: string;
}>;
