import type { Router } from "./router.js"; import { type SupportedAgent } from "../agents/agents-registry.js"; export interface DetectedAgentTool { id: string; displayName: string; localDir: string; globalDir: string; } export interface InstallStateForScope { installed: boolean; installedAgentTools: string[]; version: string | null; } export interface InstallStateResponse { skill: string; detectedAgentTools: DetectedAgentTool[]; scopes: { project: InstallStateForScope; user: InstallStateForScope; }; } export interface SupportedAgentsResponse { agents: SupportedAgent[]; } export declare function registerInstallStateRoutes(router: Router, rootArg: string | (() => string)): void;