import { Namespace, NativeStreamTransformer, ToolCallStream } from "@langchain/langgraph";

//#region src/agents/transformers/tool-call.d.ts
interface ToolCallProjection {
  toolCalls: AsyncIterable<ToolCallStream>;
}
/**
 * Creates a native transformer that correlates `tools` channel events
 * into per-call {@link ToolCallStream} objects.
 *
 * Marked `__native: true` — projection keys land directly on the
 * `GraphRunStream` instance as `run.toolCalls`.
 */
declare function createToolCallTransformer(path: Namespace): () => NativeStreamTransformer<ToolCallProjection>;
//#endregion
export { createToolCallTransformer };
//# sourceMappingURL=tool-call.d.ts.map