import { Permission, PermissionsList } from "../permission"; import { PermissibleEntity } from "./entity"; import { Collective } from "./collective"; /** * Actor * * An individual entity that is able perform actions. */ export declare class Actor extends PermissibleEntity { readonly id: string; private readonly whitelist; private readonly blacklist; constructor(name: string, id: string, permissions: Permission[], scope?: string); static DerivedFrom(collective: Collective, id: string): Actor; get can(): PermissionsList; get cannot(): PermissionsList; equals(suspect: any): boolean; serialize(): string; }