packages/casl-ability/src/index.ts
export * from './Ability';
export * from './PureAbility';
export * from './AbilityBuilder';
export * from './ForbiddenError';
export * from './RawRule';
export * from './hkt';
export * from './matchers/conditions';
export * from './matchers/field';
export type {
SubjectClass,
SubjectType,
Subject,
AbilityTuple,
Abilities,
Normalize,
IfString,
AbilityParameters,
CanParameters,
ExtractSubjectType,
InferSubjects,
ForcedSubject,
MatchConditions,
ConditionsMatcher,
MatchField,
FieldMatcher,
} from './types';
export type {
Generics,
RuleOf,
RawRuleOf,
UpdateEvent,
EventHandler,
Unsubscribe
} from './RuleIndex';
export * as hkt from './hkt';
export {
setSubjectType as subject,
detectSubjectType,
createAliasResolver,
wrapArray
} from './utils';