import { BaseEntity, EntityManager } from 'typeorm';
import { NestAuthUser } from './user.entity';
import { NestAuthRole } from '../../role/entities/role.entity';
export declare class NestAuthPlatformAccess extends BaseEntity {
    id: string;
    userId: string;
    user: NestAuthUser;
    roles: NestAuthRole[];
    isActive: boolean;
    createdAt: Date;
    updatedAt: Date;
    getPermissions(): Promise<string[]>;
    getRoles(withPermissions?: boolean): Promise<NestAuthRole[]>;
    assignRoles(roleIds: string | string[], manager?: EntityManager): Promise<void>;
}
//# sourceMappingURL=platform-access.entity.d.ts.map