import { a as McpTransportLike, b as McpAnalyticsOptions } from './types-dO1jMWgY.js';
export { c as McpEvent, M as McpEventBatch, d as McpEventStatus, e as McpPeerInfo, f as McpRequestContext, g as McpToolListing } from './types-dO1jMWgY.js';
import './types-CNS6OABG.js';

/** Sends every queued MCP event now; await it before a serverless function returns. */
declare function flushMcpEvents(): Promise<void>;

declare const DEFAULT_MCP_EXCLUDED_METHODS: string[];

/**
 * Wraps an MCP transport (stdio, Streamable HTTP, SSE or any object with
 * `send` and `onmessage`) and reports one event per JSON-RPC request the
 * server answers, plus one per request the server sends to the client
 * (elicitation, sampling, roots), in batches. Arguments and results stay in the process
 * unless `captureArguments` or `captureResponses` is set. Tracking a
 * transport that is already tracked returns it unchanged.
 */
declare function trackMcpTransport<T extends McpTransportLike>(transport: T, options: McpAnalyticsOptions): T;

export { DEFAULT_MCP_EXCLUDED_METHODS, McpAnalyticsOptions, McpTransportLike, flushMcpEvents, trackMcpTransport };
