export type HostMaintenanceOperation = 'transactions'; export interface HostMaintenanceRequest { operation: HostMaintenanceOperation; prepareBlankFzTest?: boolean; } export interface HostMaintenancePlan { operation: HostMaintenanceOperation; mutation: boolean; activeSlot: 'blue' | 'green'; workingDirectory: string; unit: string; credentialNames: readonly string[]; argv: readonly string[]; } export interface HostMaintenanceResult { plan: HostMaintenancePlan; exitCode: number; output: string; } export interface HostMaintenanceRuntime { uid(): number; read(path: string): string; inspect(path: string): { regular: boolean; symbolic: boolean; uid: number; links: number; mode: number; size: number; }; exec(argv: readonly string[]): Promise<{ exitCode: number; output: string; }>; } export declare function planHostMaintenance(request: HostMaintenanceRequest, runtime?: HostMaintenanceRuntime): HostMaintenancePlan; export declare function applyHostMaintenance(request: HostMaintenanceRequest, runtime?: HostMaintenanceRuntime): Promise;