import { BaseEntity } from "typeorm";
import { NestAuthTenant } from "../../tenant/entities/tenant.entity";
import { NestAuthUser } from "../../user/entities/user.entity";
export declare class NestAuthRole extends BaseEntity {
    id: string;
    name: string;
    guard: string;
    tenantId: string;
    tenant: NestAuthTenant;
    isSystem: boolean;
    isActive: boolean;
    permissions: string[];
    createdAt: Date;
    updatedAt: Date;
    users: NestAuthUser[];
    static createRole(name: string, guard: string, isSystem: boolean, tenantId: string): Promise<NestAuthRole>;
    syncPermissions(permissions: string | string[]): Promise<void>;
    removePermissions(permissions: string | string[]): Promise<void>;
    attachPermissions(permissions: string | string[]): Promise<void>;
}
//# sourceMappingURL=role.entity.d.ts.map