import { B as BlokkliModule } from '../../shared/editor.D28NbXr3.mjs'; import 'nuxt/schema'; import 'consola'; import '../../../dist/global/types/definitions.js'; import '../../../dist/global/types/theme.js'; import '../../../dist/global/types/colorOptions.js'; import '@nuxt/kit'; import '../../../dist/global/types/features.js'; type McpModuleOptions = { /** * Path to the server adapter (Nitro context) that implements data access * for the MCP tools. Typically defined with `defineBlokkliMcpServerAdapter()`. */ serverAdapterPath: string; /** * Route of the MCP endpoint (Streamable HTTP, stateless, JSON responses). * * @default '/api/blokkli/mcp' */ route?: string; /** * Name reported to MCP clients in the `initialize` handshake. * * @default 'blokkli-editor' */ serverName?: string; /** * Instructions sent to MCP clients in the `initialize` handshake. * Appended to the built-in instructions. */ instructions?: string; /** * Whether the `publish-page` tool is exposed. * * @default true */ allowPublish?: boolean; /** * Maximum number of blocks a single `add-blocks` call may create. * * @default 50 */ maxBlocksPerCall?: number; }; /** * MCP (Model Context Protocol) endpoint for editing pages headlessly. * * Exposes a stateless Streamable HTTP endpoint (JSON responses, no SSE) whose * tools read and mutate pages through a server adapter. Block types, options * and defaults come from the block definitions; field and placement rules from * the server adapter. */ declare const _default: (options: McpModuleOptions) => BlokkliModule; export { _default as default }; export type { McpModuleOptions };