import type { ServerRecord } from "../types/index.js";
export { isSafeMode } from "../utils/safeMode.js";
export declare function isValidProvider(provider: string): boolean;
export declare function validateIpAddress(ip: string): string | null;
export declare function validateServerName(name: string): string | null;
export type PlatformStatus = "skipped" | "ssh_unavailable" | "running" | "containers_detected" | "not_detected" | "verification_failed";
export interface AddServerParams {
    provider: string;
    ip: string;
    name: string;
    skipVerify?: boolean;
    apiToken?: string;
    mode?: string;
}
export type AddServerResult = {
    success: true;
    server: ServerRecord;
    platformStatus: PlatformStatus;
} | {
    success: false;
    error: string;
};
export declare function addServerRecord(params: AddServerParams): Promise<AddServerResult>;
export interface RemoveServerResult {
    success: boolean;
    server?: ServerRecord;
    error?: string;
}
export declare function removeServerRecord(query: string): Promise<RemoveServerResult>;
export interface DestroyServerResult {
    success: boolean;
    server?: ServerRecord;
    cloudDeleted: boolean;
    localRemoved: boolean;
    error?: string;
    hint?: string;
}
export declare function destroyCloudServer(query: string): Promise<DestroyServerResult>;
export interface RebootServerResult {
    success: boolean;
    server?: ServerRecord;
    error?: string;
    hint?: string;
}
export declare function rebootServer(query: string): Promise<RebootServerResult>;
//# sourceMappingURL=manage.d.ts.map