/**
 * 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 { OrgGrantSelect, OrgGrantWithRelations } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { OrgGrantSelect, OrgGrantWithRelations } from '../../orm/input-types';
/**
 * Records of individual permission grants and revocations for members via bitmask
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useDeleteOrgGrantMutation({
 *   selection: { fields: { id: true } },
 * });
 *
 * mutate({ id: 'value-to-delete' });
 * ```
 */
export declare function useDeleteOrgGrantMutation<S extends OrgGrantSelect>(params: {
    selection: {
        fields: S & OrgGrantSelect;
    } & HookStrictSelect<NoInfer<S>, OrgGrantSelect>;
} & Omit<UseMutationOptions<{
    deleteOrgGrant: {
        orgGrant: InferSelectResult<OrgGrantWithRelations, S>;
    };
}, Error, {
    id: string;
}>, 'mutationFn'>): UseMutationResult<{
    deleteOrgGrant: {
        orgGrant: InferSelectResult<OrgGrantWithRelations, S>;
    };
}, Error, {
    id: string;
}>;
