import { KpiPeriodType } from '../kpi/kpi'; /** * KPI 통계 배치 계산 서비스 * 정기적으로 실행하여 KpiValue 데이터를 집계해서 KpiStatistic을 생성/업데이트 */ export declare class KpiStatisticBatchService { /** * 일일 배치: 어제 날짜의 모든 통계 계산 */ static runDailyBatch(domainId?: string): Promise; /** * 월간 배치: 지난 달의 모든 통계 계산 */ static runMonthlyBatch(domainId?: string): Promise; /** * 분기 배치: 지난 분기의 모든 통계 계산 */ static runQuarterlyBatch(domainId?: string): Promise; /** * 연간 배치: 작년의 모든 통계 계산 */ static runYearlyBatch(domainId?: string): Promise; /** * 대시보드용 지역별 통계 계산 */ static runDashboardBatch(periodType?: KpiPeriodType, valueDate?: string, domainId?: string): Promise; /** * 모든 도메인에 대해 통계 계산 */ private static calculateForAllDomains; /** * 특정 도메인에 대해 통계 계산 */ private static calculateForDomain; /** * 배치 실행 결과 로깅 */ private static logBatchResult; /** * 배치 작업 스케줄링 설정 예시 */ static setupBatchSchedule(): void; }