import { DashboardQuestionSqlDatasetConfig } from "../entities/dashboard-question-sql-dataset-config.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 DashboardQuestionSqlDatasetConfigSubscriber implements EntitySubscriberInterface<DashboardQuestionSqlDatasetConfig> {
    private readonly dataSource;
    readonly moduleMetadataHelperService: ModuleMetadataHelperService;
    readonly dashboardService: DashboardService;
    private readonly logger;
    constructor(dataSource: DataSource, moduleMetadataHelperService: ModuleMetadataHelperService, dashboardService: DashboardService);
    listenTo(): typeof DashboardQuestionSqlDatasetConfig;
    afterInsert(event: InsertEvent<DashboardQuestionSqlDatasetConfig>): Promise<void>;
    afterUpdate(event: UpdateEvent<DashboardQuestionSqlDatasetConfig>): Promise<void>;
    private saveQuestionToConfig;
}
//# sourceMappingURL=dashboard-question-sql-dataset-config.subscriber.d.ts.map