import * as git from './git.js'; import { type PluginIndexEntry } from './index-store.js'; export interface InstallOptions { name?: string; ref?: string; force?: boolean; } export interface InstallResult { name: string; dir: string; entry: PluginIndexEntry; } export interface InstallDeps { pluginsDir?: string; indexPath?: string; gitRunner?: git.GitRunner; now?: () => Date; confirm?: boolean; confirmDelayMs?: number; } export declare function installPlugin(source: string, options?: InstallOptions, deps?: InstallDeps): Promise; export declare function assertSafePluginName(name: string): void; export declare function assertWithinPluginsDir(dest: string, parentDir: string): void;