import { McpServer } from '@redocly/mcp-typescript-sdk/server/mcp.js';
import { StreamableHTTPServerTransport } from '@redocly/mcp-typescript-sdk/server/streamableHttp.js';
import type { McpToolSchema } from '../../../types';
import type { McpToolContext } from '../types.js';
export type DocsMcpServerInstance = {
    server: McpServer;
    transport: StreamableHTTPServerTransport;
    cleanup: () => Promise<void>;
};
export declare function createDocsMcpServer({ name, tools, context }: {
    name: string;
    tools: McpToolSchema[];
    context: McpToolContext;
}): Promise<DocsMcpServerInstance>;
//# sourceMappingURL=docs-server.d.ts.map