/**
 * Records of individual permission grants and revocations for members via bitmask
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { AppGrantSelect, AppGrantWithRelations } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { AppGrantSelect, AppGrantWithRelations } from '../../orm/input-types';
/**
 * Records of individual permission grants and revocations for members via bitmask
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useDeleteAppGrantMutation({
 *   selection: { fields: { id: true } },
 * });
 *
 * mutate({ id: 'value-to-delete' });
 * ```
 */
export declare function useDeleteAppGrantMutation<S extends AppGrantSelect>(params: {
    selection: {
        fields: S & AppGrantSelect;
    } & HookStrictSelect<NoInfer<S>, AppGrantSelect>;
} & Omit<UseMutationOptions<{
    deleteAppGrant: {
        appGrant: InferSelectResult<AppGrantWithRelations, S>;
    };
}, Error, {
    id: string;
}>, 'mutationFn'>): UseMutationResult<{
    deleteAppGrant: {
        appGrant: InferSelectResult<AppGrantWithRelations, S>;
    };
}, Error, {
    id: string;
}>;
