/**
 * Lightweight server monitoring + resource alerts, mirroring Forge's server
 * metrics and notifications.
 *
 * Dependency-free: a small shell collector reads load average, memory, swap,
 * disk, uptime, network throughput, and per-service TCP health, then writes a
 * JSON snapshot to {@link METRICS_PATH} every minute via a systemd timer. The
 * ts-cloud UI (and any operator tooling) reads that file for at-a-glance health.
 *
 * When alert thresholds are configured (CPU load per core, memory %, disk %),
 * the collector calls the on-box `ts-cloud-notify` helper on each OK→alert
 * transition (and once more on recovery), so channels aren't spammed every
 * minute the box stays hot.
 */
import type { ComputeMonitoringConfig } from '@ts-cloud/core';
/** Where the metrics snapshot is written. */
export declare const METRICS_PATH = "/var/lib/ts-cloud/metrics.json";
/**
 * Build the commands that install the metrics collector + systemd timer.
 * Accepts `true`/`false` or a {@link ComputeMonitoringConfig} (with alert
 * thresholds). Idempotent. Returns `[]` when disabled.
 */
export declare function buildMonitoringScript(monitoring?: boolean | ComputeMonitoringConfig): string[];
