import { n as createCoreMcpServer, r as startCoreMcpServer, t as CoreMcpServerOptions } from "../server-C4rWE9g3.mjs"; //#region src/mcp/shared.d.ts /** * Shared MCP server utilities. * * Common helpers used by both @pagesmith/core and @pagesmith/docs MCP servers. */ /** Read the package version from a package.json relative to the calling module. */ declare function getPackageVersion(moduleDir: string): string; /** Resolve a doc file path relative to the package root. */ declare function resolvePackageDocPath(moduleDir: string, relativePath: string): string; /** Load a file as an MCP text resource response. Throws if the file doesn't exist. */ declare function asTextResource(uri: string, path: string): { contents: { uri: string; mimeType: string; text: string; }[]; }; //#endregion export { type CoreMcpServerOptions, asTextResource, createCoreMcpServer, getPackageVersion, resolvePackageDocPath, startCoreMcpServer }; //# sourceMappingURL=index.d.mts.map