/** * Shared helpers for agent adapters. */ import type { IUi } from "../ui.js"; interface WriteMcpConfigParams { ui: IUi; configPath: string; } /** * Write (or patch) an MCP server registration into a JSON config file. * * All agents use the same JSON shape — only the file path differs: * { * "mcpServers": { * "webiny": { "command": "npx", "args": ["webiny-mcp", "serve"] } * } * } */ export declare function writeMcpConfig({ ui, configPath }: WriteMcpConfigParams): boolean; interface WriteHintFileParams { ui: IUi; hintPath: string; content: string; marker?: string; } /** * Append Webiny instructions to a markdown hint file (CLAUDE.md, * copilot-instructions.md, etc.) if not already present. */ export declare function writeHintFile({ ui, hintPath, content, marker }: WriteHintFileParams): boolean; interface WebinyHintBlockParams { heading?: string; prefix?: string; } export declare function webinyHintBlock({ heading, prefix }?: WebinyHintBlockParams): string; interface PrintDoneParams { ui: IUi; extra?: string; } export declare function printDone({ ui, extra }: PrintDoneParams): void; export {};