import { Name, NameType } from "./Name.js";
import { Struct } from "./Struct.js";
export type PermissionLevelType = PermissionLevel | {
    actor: NameType;
    permission: NameType;
};
/** Permission Level, a.k.a "auth". */
export declare class PermissionLevel extends Struct {
    actor: Name;
    permission: Name;
    /** Create new permission level from representing types. Can be expressed as a string in the format `<actor>@<permission>`. */
    static from(value: PermissionLevelType | string): PermissionLevel;
    /** Return true if this permission level equals other. */
    equals(other: PermissionLevelType | string): boolean;
    toString(): string;
}
//# sourceMappingURL=PermissionLevel.d.ts.map