import type { CommandAdapter } from '../command-adapter.interface.js'; export type BinaryChecker = (name: string) => Promise; export type BinaryInstaller = (command: string) => Promise; export interface PluginCommandHooks { binaryChecker?: BinaryChecker; binaryInstaller?: BinaryInstaller; promptInstall?: (name: string, installCommand: string) => Promise; } /** * Exported for direct testing — this is invoked for `checkCommand`, * `installCommand`, and `postInstallCommand` alike, so the message must not * claim a specific purpose ("the install command") when it might be showing * a presence-check or setup command instead. */ export declare function defaultPromptInstall(name: string, command: string): Promise; export declare function configurePluginCommand(program: CommandAdapter, hooks?: PluginCommandHooks): void; //# sourceMappingURL=plugin.command.d.ts.map