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