/**
 * This file is part of the NocoBase (R) project.
 * Copyright (c) 2020-2024 NocoBase Co., Ltd.
 * Authors: NocoBase Team.
 *
 * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
 * For more information, please refer to: https://www.nocobase.com/agreement.
 */
import type { McpToolsManager } from '@nocobase/ai';
import type { McpTool } from '@nocobase/ai';
export declare class McpServer {
    private readonly options;
    constructor(options: {
        name: string;
        version: string;
        toolsManager: McpToolsManager;
        getTools?: (ctx: any) => Promise<McpTool[]>;
        logger: {
            error: (...args: any[]) => void;
        };
    });
    handlePost(ctx: any): Promise<void>;
    private createServer;
}
