import { SecurityRule } from '../entities/security-rule.entity';
import { ModuleMetadataHelperService } from "../helpers/module-metadata-helper.service";
import { SecurityRuleRepository } from '../repository/security-rule.repository';
import { DataSource, EntitySubscriberInterface, InsertEvent, UpdateEvent } from "typeorm";
export declare class SecurityRuleSubscriber implements EntitySubscriberInterface<SecurityRule> {
    private readonly dataSource;
    readonly moduleMetadataHelperService: ModuleMetadataHelperService;
    readonly securityRuleRepo: SecurityRuleRepository;
    private readonly logger;
    constructor(dataSource: DataSource, moduleMetadataHelperService: ModuleMetadataHelperService, securityRuleRepo: SecurityRuleRepository);
    listenTo(): typeof SecurityRule;
    afterInsert(event: InsertEvent<SecurityRule>): Promise<void>;
    afterUpdate(event: UpdateEvent<SecurityRule>): Promise<void>;
    saveSecurityRules(event: UpdateEvent<SecurityRule> | InsertEvent<SecurityRule>): Promise<void>;
}
//# sourceMappingURL=security-rule.subscriber.d.ts.map