import { Disk } from './disk.js'; import { FakeDisk } from './fake_disk.js'; import { type DriveManagerOptions, type DriverContract } from './types.js'; /** * Drive manager exposes the API to manage Disk instances for multiple * services. Also, it offers a fakes API for testing. */ export declare class DriveManager DriverContract>> { #private; constructor(config: DriveManagerOptions); /** * Returns an instance of a Disk for the given service. By default * use the "default" service from config */ use(service?: K): Disk; /** * Deploy fake for a given service. The "use" method for the same service * will now return an instance of the "FakeDisk" class and not the * real implementation. */ fake(service?: K): FakeDisk; /** * Restore fake for a given service */ restore(service?: K): void; }