import type { ServerRecord } from "../types/index.js";
export interface StatusResult {
    server: ServerRecord;
    serverStatus: string;
    platformStatus: string;
    error?: string;
    errorSource?: "provider" | "platform";
}
export declare function getCloudServerStatus(server: ServerRecord, apiToken: string): Promise<string>;
export declare function checkServerStatus(server: ServerRecord, apiToken: string): Promise<StatusResult>;
export declare function checkAllServersStatus(servers: ServerRecord[], tokenMap: Map<string, string>): Promise<StatusResult[]>;
export interface RestartPlatformResult {
    success: boolean;
    nowRunning: boolean;
    error?: string;
    hint?: string;
}
export declare function restartPlatform(server: ServerRecord): Promise<RestartPlatformResult>;
/** @deprecated Use restartPlatform instead */
export declare const restartCoolify: typeof restartPlatform;
//# sourceMappingURL=status.d.ts.map