/**
 * 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 { OrgAdminGrantSelect, OrgAdminGrantWithRelations, CreateOrgAdminGrantInput } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { OrgAdminGrantSelect, OrgAdminGrantWithRelations, CreateOrgAdminGrantInput, } from '../../orm/input-types';
/**
 * Records of admin role grants and revocations between members
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useCreateOrgAdminGrantMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ name: 'New item' });
 * ```
 */
export declare function useCreateOrgAdminGrantMutation<S extends OrgAdminGrantSelect>(params: {
    selection: {
        fields: S & OrgAdminGrantSelect;
    } & HookStrictSelect<NoInfer<S>, OrgAdminGrantSelect>;
} & Omit<UseMutationOptions<{
    createOrgAdminGrant: {
        orgAdminGrant: InferSelectResult<OrgAdminGrantWithRelations, S>;
    };
}, Error, CreateOrgAdminGrantInput['orgAdminGrant']>, 'mutationFn'>): UseMutationResult<{
    createOrgAdminGrant: {
        orgAdminGrant: InferSelectResult<OrgAdminGrantWithRelations, S>;
    };
}, Error, CreateOrgAdminGrantInput['orgAdminGrant']>;
