import type { MongoQuery } from '@ucast/mongo2js'; export type AbilityID = { action: string; subject: string; }; export type AbilityDescriptor = Record> = { name: string; inverse?: boolean; condition?: MongoQuery | null; fields?: string[] | null; target?: string | null; power?: number | null; }; export type Ability = Record> = AbilityID & AbilityDescriptor; //# sourceMappingURL=type.d.ts.map