import { Dashboard } from '../entities/dashboard.entity';
import { ModuleMetadataHelperService } from "../helpers/module-metadata-helper.service";
import { DashboardService } from '../services/dashboard.service';
import { DataSource, EntitySubscriberInterface, InsertEvent, UpdateEvent } from "typeorm";
export declare class DashboardSubscriber implements EntitySubscriberInterface<Dashboard> {
    private readonly dataSource;
    readonly moduleMetadataHelperService: ModuleMetadataHelperService;
    readonly dashboardService: DashboardService;
    private readonly logger;
    constructor(dataSource: DataSource, moduleMetadataHelperService: ModuleMetadataHelperService, dashboardService: DashboardService);
    listenTo(): typeof Dashboard;
    afterInsert(event: InsertEvent<Dashboard>): Promise<void>;
    afterUpdate(event: UpdateEvent<Dashboard>): Promise<void>;
    private saveDashboardToConfig;
}
//# sourceMappingURL=dashboard.subscriber.d.ts.map