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