import * as plugins from './plugins.js'; import type { IControllerSystemMetrics, IControllerSystemMetricsHistoryPoint } from '../dist_ts_interfaces/index.js'; export declare const systemMetricsHistoryWindowMs: number; export declare const systemMetricsHistoryResolutionMs = 10000; interface IControllerSystemMetricsHistoryDocument { id: string; sampledAt: number; expiresAt: Date; point: IControllerSystemMetricsHistoryPoint; } export declare class ControllerSystemMetricsHistoryModel extends plugins.smartdata.SmartDataDbDoc { id: string; sampledAt: number; expiresAt: Date; point: IControllerSystemMetricsHistoryPoint; } export declare const toSystemMetricsHistoryPoint: (metricsArg: IControllerSystemMetrics) => IControllerSystemMetricsHistoryPoint; export declare const recordSystemMetricsHistoryPoint: (metricsArg: IControllerSystemMetrics) => Promise; export declare const listSystemMetricsHistoryPoints: (nowArg?: number) => Promise; /** TTL is an additional guard; explicit bounded deletion also works on embedded SmartDB. */ export declare const pruneSystemMetricsHistory: (nowArg?: number) => Promise; export {};