/** * [INPUT]: Depends on MCP environment config plus native fetch, Headers, and FormData contracts. * [OUTPUT]: Exports BizMuseApiClient with authenticated JSON and multipart requests. * [POS]: packages/mcp transport boundary shared by tools; centralizes BizMuse envelope and HTTP error handling. * [PROTOCOL]: 变更时更新此头部,然后检查 AGENTS.md */ import type { McpConfig } from './config.js'; export interface ApiResponse { code: number; message: string; data: T; } export declare class BizMuseApiClient { private config; constructor(config: McpConfig); private request; get(path: string): Promise; post(path: string, body: unknown): Promise; postForm(path: string, body: FormData): Promise; } //# sourceMappingURL=api-client.d.ts.map