import type { WorkspaceEdge, WorkspaceRepo } from "./manifest.js"; /** The workspace marker — lets `aih doctor` recognize a multi-repo workspace root. */ export declare function workspaceMarker(repos: string[], dir: string, git?: boolean): unknown; /** A VS Code multi-root `.code-workspace` opening every child repo in one window. */ export declare function codeWorkspace(repos: string[]): unknown; export declare function spanningMcp(root: string, repos: readonly string[]): { mcpServers: Record; }; export declare function isAihLegacyCodeReviewGraphMcpServer(value: unknown): boolean; export declare function aihWorkspaceGraphRepo(value: unknown): string | undefined; export declare function isAihWorkspaceGraphMcpServer(value: unknown): boolean; export declare function isLegacyAihWorkspaceMcpServer(name: string, value: unknown): boolean; /** Future-facing parent router for federated workspaces. */ export declare function workspaceRouterDoc(repos: readonly WorkspaceRepo[]): string; /** Parent-owned contract index generated from `.aih-workspace.json` edges. */ export declare function workspaceContractsDoc(edges: readonly WorkspaceEdge[]): string; /** * The cross-repo architecture map — the heart of the workspace. Seeded with the * declared repo names, then OWNED by the user (write-once: aih never overwrites * it). This is what gives an agent editing the UI a view into the backend. */ export declare function crossRepoArchitectureDoc(name: string, repos: string[], dir: string): string; /** Per-repo discipline routing — read a repo's own canon before editing it. */ export declare function repoDisciplineDoc(repos: string[], dir: string): string; /** A thin tool-native workspace bootloader at the parent → the canon. */ export declare function workspaceBootloader(tool: string, name: string, repos: string[], dir: string): string; /** The "what to do next" doc — parent-only scaffold, so init runs per child. */ export declare function nextStepsDoc(name: string, repos: string[], dir: string, git?: boolean): string;