/**
 * Delete mutation hook for Index
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { IndexSelect, IndexWithRelations } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { IndexSelect, IndexWithRelations } from '../../orm/input-types';
/**
 * Mutation hook for deleting a Index with typed selection
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useDeleteIndexMutation({
 *   selection: { fields: { id: true } },
 * });
 *
 * mutate({ id: 'value-to-delete' });
 * ```
 */
export declare function useDeleteIndexMutation<S extends IndexSelect>(params: {
    selection: {
        fields: S & IndexSelect;
    } & HookStrictSelect<NoInfer<S>, IndexSelect>;
} & Omit<UseMutationOptions<{
    deleteIndex: {
        index: InferSelectResult<IndexWithRelations, S>;
    };
}, Error, {
    id: string;
}>, 'mutationFn'>): UseMutationResult<{
    deleteIndex: {
        index: InferSelectResult<IndexWithRelations, S>;
    };
}, Error, {
    id: string;
}>;
