/**
 * Defines available permissions as named bits within a bitmask, used by the RBAC system for access control
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { OrgPermissionSelect, OrgPermissionWithRelations, OrgPermissionPatch } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { OrgPermissionSelect, OrgPermissionWithRelations, OrgPermissionPatch, } from '../../orm/input-types';
/**
 * Defines available permissions as named bits within a bitmask, used by the RBAC system for access control
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useUpdateOrgPermissionMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ id: 'value-here', orgPermissionPatch: { name: 'Updated' } });
 * ```
 */
export declare function useUpdateOrgPermissionMutation<S extends OrgPermissionSelect>(params: {
    selection: {
        fields: S & OrgPermissionSelect;
    } & HookStrictSelect<NoInfer<S>, OrgPermissionSelect>;
} & Omit<UseMutationOptions<{
    updateOrgPermission: {
        orgPermission: InferSelectResult<OrgPermissionWithRelations, S>;
    };
}, Error, {
    id: string;
    orgPermissionPatch: OrgPermissionPatch;
}>, 'mutationFn'>): UseMutationResult<{
    updateOrgPermission: {
        orgPermission: InferSelectResult<OrgPermissionWithRelations, S>;
    };
}, Error, {
    id: string;
    orgPermissionPatch: OrgPermissionPatch;
}>;
