import { type RestartResult } from "./daemon/restart.js"; import { type InstallScope, type InstallTarget } from "./install.js"; import { type RecallOptions } from "./recall.js"; import { type UninstallTarget } from "./uninstall.js"; /** Endpoint the dashboard page needs to reach the daemon's API (loopback, no auth). */ export interface DashboardDaemon { endpoint: string; } /** Injectable seams so `recall`/`hook`/`dashboard`/`restart` are testable without touching the daemon, browser, or real stdin. */ export interface RunCliDeps { recall?: (options: RecallOptions) => Promise; readStdin?: () => Promise; connectDashboardDaemon?: () => Promise; openUrl?: (url: string) => Promise; restartDaemon?: () => Promise; /** Best-effort daemon stop used by `uninstall`. */ stopDaemon?: () => Promise; } export declare function runCli(args: string[], deps?: RunCliDeps): Promise; /** Human-readable usage shown by `augment help`, `--help`, `-h`, and on unknown commands. */ export declare function helpText(): string; export declare function parseInstallArgs(args: string[]): { target: InstallTarget; scope: InstallScope; memoryRoot?: string; dryRun?: boolean; noPlugin?: boolean; force?: boolean; }; export declare function parseUninstallArgs(args: string[]): { target: UninstallTarget; scope: InstallScope; dryRun: boolean; noPlugin: boolean; keepDaemon: boolean; };