/** Options for configuring prediction behavior. */ export interface PredictionOptions { /** Temperature units. Default: "F". */ units?: "F" | "C"; /** Prediction method. Default: "linear". */ method?: "linear" | "weighted"; /** * Recent rate (degrees per minute) used for weighted prediction. * When method is "weighted" and this value is provided, the prediction * blends recentRate (70%) with the overall rate (30%). */ recentRate?: number; } /** Result of a done-time prediction. */ export interface PredictionResult { /** Estimated minutes remaining, or null if rate is zero/negative with target above current. */ estimatedMinutes: number | null; /** ISO timestamp of predicted completion, or null if estimate is unavailable. */ estimatedTime: string | null; /** Confidence level based on rate stability. */ confidence: "high" | "medium" | "low"; /** Prediction method used. */ method: "linear" | "weighted"; } /** * Predict when a probe will reach its target temperature based on the * current rate of temperature change. * * @param current - Current temperature reading. * @param target - Target temperature (e.g., high alarm value). * @param rateOfChange - Rate of change in degrees per minute. * @param options - Optional prediction configuration. * @returns A prediction result with estimated time and confidence. */ export declare function predictDoneTime(current: number, target: number, rateOfChange: number, options?: PredictionOptions): PredictionResult; //# sourceMappingURL=prediction.d.ts.map