import type { ONIModelMessage } from "../models/types.js"; import type { DefineAgentOptions, AgentNode } from "./types.js"; /** * defineAgent — create a declarative ReAct agent * * The returned AgentNode._nodeFn is suitable for use as a graph node. * It expects the state to have an optional `messages` field (ONIModelMessage[]) * and returns `{ messages }` with the conversation appended. */ export declare function defineAgent = Record>(opts: DefineAgentOptions): AgentNode; //# sourceMappingURL=define-agent.d.ts.map