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