UNPKG

eve

Version:

Filesystem-first framework for durable backend AI agents that run anywhere.

9 lines (8 loc) 629 B
import type { RouteHandlerArgs } from "#channel/routes.js"; import type { Agent } from "#public/definitions/channel.js"; type AgentInfoRouteResponse = () => Promise<Response>; export declare function attachAgentInfoRouteResponse<TArgs extends RouteHandlerArgs>(args: TArgs, respond: AgentInfoRouteResponse): TArgs; export declare function readAgentInfoRouteResponse(args: RouteHandlerArgs): AgentInfoRouteResponse | undefined; export declare function attachRouteAgent<TArgs extends RouteHandlerArgs>(args: TArgs, agent: Agent): TArgs; export declare function readRouteAgent(args: RouteHandlerArgs): Agent | undefined; export {};