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