@open-audio-stack/core
Version:
Open-source audio plugin management software
22 lines (21 loc) • 1.21 kB
TypeScript
import { Package } from './Package.js';
import { PackageVersion } from '../types/Package.js';
import { Manager } from './Manager.js';
import { RegistryType } from '../types/Registry.js';
import { ConfigInterface } from '../types/Config.js';
export declare class ManagerLocal extends Manager {
protected typeDir: string;
constructor(type: RegistryType, config?: ConfigInterface);
isPackageInstalled(slug: string, version: string): boolean;
create(): Promise<void>;
scan(ext?: string, installable?: boolean): void;
export(dir: string, ext?: string): boolean;
install(slug: string, version?: string): Promise<PackageVersion>;
installAll(): Promise<Package[]>;
installDependency(slug: string, version?: string, filePath?: string, type?: RegistryType): Promise<any>;
installDependencies(filePath: string, type?: RegistryType): Promise<any>;
open(slug: string, version?: string, options?: string[]): boolean;
uninstall(slug: string, version?: string): Promise<PackageVersion>;
uninstallDependency(slug: string, version?: string, filePath?: string, type?: RegistryType): Promise<any>;
uninstallDependencies(filePath?: string, type?: RegistryType): Promise<any>;
}