/**
 * 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, CreateAppGrantInput } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { AppGrantSelect, AppGrantWithRelations, CreateAppGrantInput, } from '../../orm/input-types';
/**
 * Records of individual permission grants and revocations for members via bitmask
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useCreateAppGrantMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ name: 'New item' });
 * ```
 */
export declare function useCreateAppGrantMutation<S extends AppGrantSelect>(params: {
    selection: {
        fields: S & AppGrantSelect;
    } & HookStrictSelect<NoInfer<S>, AppGrantSelect>;
} & Omit<UseMutationOptions<{
    createAppGrant: {
        appGrant: InferSelectResult<AppGrantWithRelations, S>;
    };
}, Error, CreateAppGrantInput['appGrant']>, 'mutationFn'>): UseMutationResult<{
    createAppGrant: {
        appGrant: InferSelectResult<AppGrantWithRelations, S>;
    };
}, Error, CreateAppGrantInput['appGrant']>;
