import type { CloudlyApiClient } from './classes.cloudlyapiclient.js'; import * as plugins from './plugins.js'; export declare class Backup { private static requireIdentity; static createServiceBackup(cloudlyClientRef: CloudlyApiClient, optionsArg: { serviceId: string; clusterId?: string; tags?: Record; }): Promise; static getServiceBackups(cloudlyClientRef: CloudlyApiClient, optionsArg?: { serviceId?: string; status?: string; }): Promise; static getBackupById(cloudlyClientRef: CloudlyApiClient, backupIdArg: string): Promise; static restoreServiceBackup(cloudlyClientRef: CloudlyApiClient, optionsArg: { backupId: string; clear?: boolean; resourceTypes?: Array<'volume' | 'database' | 'objectstorage'>; }): Promise; /** * Creates a restore in a server-generated scratch namespace. The explicit * payload construction deliberately drops undeclared runtime properties so * callers cannot smuggle target service or archive identifiers to Cloudly. */ static createIsolatedRestore(cloudlyClientRef: CloudlyApiClient, optionsArg: Omit): Promise; static getIsolatedRestores(cloudlyClientRef: CloudlyApiClient, optionsArg?: Omit): Promise; static getIsolatedRestoreById(cloudlyClientRef: CloudlyApiClient, restoreIdArg: string): Promise; static cleanupIsolatedRestore(cloudlyClientRef: CloudlyApiClient, optionsArg: Omit): Promise; }