import { ModuleRef } from "@nestjs/core";
import { Cache } from 'cache-manager';
import { CRUDService } from '../services/crud.service';
import { EntityManager } from 'typeorm';
import { PermissionMetadataRepository } from '../repository/permission-metadata.repository';
import { PermissionMetadata } from '../entities/permission-metadata.entity';
export declare class PermissionMetadataService extends CRUDService<PermissionMetadata> {
    readonly entityManager: EntityManager;
    readonly repo: PermissionMetadataRepository;
    readonly moduleRef: ModuleRef;
    private readonly cacheManager;
    private readonly logger;
    constructor(entityManager: EntityManager, repo: PermissionMetadataRepository, moduleRef: ModuleRef, cacheManager: Cache);
    private buildPermissionsByRoleCacheKey;
    findAllUsingRoles(roles: string[]): Promise<PermissionMetadata[]>;
    permissionExistsInRole(role: string, permission: string): Promise<PermissionMetadata[]>;
}
//# sourceMappingURL=permission-metadata.service.d.ts.map