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