import type { ResolvedRepo } from "../../repos/manager.js"; /** * Creates an MCP server with the onpush tools: * - list_repos: tells the agent which repositories are available * - save_document: captures the final markdown content from the agent * * The `onDocumentSaved` callback is called when the agent invokes save_document, * allowing us to capture clean document content without conversational noise. * Mermaid diagrams are validated before saving; on failure, the agent receives * error details and can fix the diagrams and retry. */ export declare function createOnPushServer(repos: ResolvedRepo[], onDocumentSaved: (content: string) => void): import("@anthropic-ai/claude-agent-sdk").McpSdkServerConfigWithInstance; //# sourceMappingURL=repos-tool.d.ts.map