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