import { type SshCommand } from "../utils/sshCommand.js";
export type LogService = "coolify" | "dokploy" | "docker" | "system";
export interface SystemMetrics {
    cpu: string;
    ramUsed: string;
    ramTotal: string;
    diskUsed: string;
    diskTotal: string;
    diskPercent: string;
}
export interface LogResult {
    logs: string;
    service: LogService;
    lines: number;
    error?: string;
    hint?: string;
}
export interface MetricsResult {
    metrics: SystemMetrics;
    containers?: string;
    error?: string;
    hint?: string;
}
export declare function buildLogCommand(service: LogService, lines: number, follow?: boolean): SshCommand;
export declare function buildMonitorCommand(includeContainers: boolean): SshCommand;
export declare function parseMetrics(stdout: string): SystemMetrics;
export declare function fetchServerLogs(ip: string, service: LogService, lines: number): Promise<LogResult>;
export declare function fetchServerMetrics(ip: string, includeContainers: boolean): Promise<MetricsResult>;
//# sourceMappingURL=logs.d.ts.map