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