/**
 * KPI Collector Service
 *
 * Mục đích: Thu thập dữ liệu KPI từ Meteocontrol V2 API và lưu vào MongoDB
 *
 * Chức năng:
 * - Kết nối với Meteocontrol V2 API (OAuth hoặc Basic Auth)
 * - Thu thập Production (E_Z_EVU), PR, Availability (VFG), Irradiation (G_M)
 * - Tính toán Specific Yield
 * - Lưu vào MongoDB KPI collection
 */
export interface IKPIData {
    date: Date;
    production: number;
    pr: number;
    availability: number;
    specificYield: number;
    irradiation: number;
}
/**
 * Get KPI data directly from V2 API using day resolution (efficient batch fetching)
 * Returns KPI data for a date range
 * Used by Dashboard to display real-time KPI data
 *
 * Uses API endpoints with resolution=day to fetch multiple days at once (max 60 days per request)
 */
export declare function getKPIsFromV2API(projectId: string, startDate: Date, endDate: Date): Promise<IKPIData[]>;
/**
 * Collect KPI data for a single project
 */
export declare function collectKPIForProject(projectId: string, targetDate?: Date): Promise<boolean>;
/**
 * Collect KPI data for all projects with Meteocontrol config
 */
export declare function collectKPIForAllProjects(targetDate?: Date): Promise<void>;
//# sourceMappingURL=kpiCollectorService.d.ts.map