/** Temp directory manager for server and per-VM temp files. */ export declare class TempManager { private basePath; private serverDir; /** Create a temp manager. Uses os.tmpdir() if no basePath given. */ constructor(basePath?: string); /** Create the server temp directory. Must be called before other methods. */ init(): Promise; /** Get the server temp directory path. Throws if init() was not called. */ private getServerDir; /** Create a subdirectory for a VM and return its path. */ createVmDir(vmId: string): Promise; /** Return the QMP socket file path for a VM. */ getSocketPath(vmId: string): string; /** Remove the temp directory for a VM. */ removeVmDir(vmId: string): Promise; /** Remove the entire server temp directory and all VM subdirectories. */ cleanup(): Promise; } //# sourceMappingURL=temp.d.ts.map