import { type McpRoute } from "./guards.js"; import type { McpLaunch } from "./mcp.js"; /** * Phase 2: zero-config project auto-detection. Inspects the repo and emits * the data `oh-my-plumb init` records as guard rules in the rubric. * Read-only: never writes, never spawns. */ export type DetectedStack = { manifests: string[]; lintConfigs: string[]; mcpServers: string[]; skills: string[]; }; /** How to start the named MCP server, from the project's host configs first, then the global ones. */ export declare const findMcpServer: (root: string, name: string) => McpLaunch | undefined; export declare const detectStack: (root: string) => DetectedStack; export type TierRoute = { tier: 1 | 3; trigger: string; action: string; } | { tier: 2; trigger: string; action: string; mcp: McpRoute; }; /** Thin adapter: detected stack → tier routes; init records the tier-2 guard in the rubric. */ export declare const routesFor: (stack: DetectedStack, root: string) => TierRoute[]; //# sourceMappingURL=detect.d.ts.map