/**
 * Audit log of permission additions and removals from the defaults bitmask
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { OrgPermissionDefaultGrantSelect, OrgPermissionDefaultGrantWithRelations, CreateOrgPermissionDefaultGrantInput } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { OrgPermissionDefaultGrantSelect, OrgPermissionDefaultGrantWithRelations, CreateOrgPermissionDefaultGrantInput, } from '../../orm/input-types';
/**
 * Audit log of permission additions and removals from the defaults bitmask
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useCreateOrgPermissionDefaultGrantMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ name: 'New item' });
 * ```
 */
export declare function useCreateOrgPermissionDefaultGrantMutation<S extends OrgPermissionDefaultGrantSelect>(params: {
    selection: {
        fields: S & OrgPermissionDefaultGrantSelect;
    } & HookStrictSelect<NoInfer<S>, OrgPermissionDefaultGrantSelect>;
} & Omit<UseMutationOptions<{
    createOrgPermissionDefaultGrant: {
        orgPermissionDefaultGrant: InferSelectResult<OrgPermissionDefaultGrantWithRelations, S>;
    };
}, Error, CreateOrgPermissionDefaultGrantInput['orgPermissionDefaultGrant']>, 'mutationFn'>): UseMutationResult<{
    createOrgPermissionDefaultGrant: {
        orgPermissionDefaultGrant: InferSelectResult<OrgPermissionDefaultGrantWithRelations, S>;
    };
}, Error, CreateOrgPermissionDefaultGrantInput['orgPermissionDefaultGrant']>;
