import type { Agent, AgentConfig, AgentMiddleware, AgentOutputSchema, InferAgentOutputSchema } from "./types.js"; /** * Agent helper. * * `TOutput` is inferred from `config.outputSchema`, so `response.object` is * typed without an annotation. Agents without one keep no `object`. */ export declare function agent(config: AgentConfig> & { outputSchema: TOutputSchema; }): Agent>; export declare function agent(config: AgentConfig): Agent; /** * Build an agent runtime without adding it to the project registry. * * Framework facades use this when they need the agent runtime pipeline for a * single call, but must not expose a reusable agent in registry-backed * listings. */ export declare function createEphemeralAgent(config: AgentConfig> & { outputSchema: TOutputSchema; }): Agent>; export declare function createEphemeralAgent(config: AgentConfig): Agent; /** * Resolve the middleware array for an agent, prepending security middleware * unless explicitly opted out with `security: false`. * * The security middleware does not impose any input character limit: agent * input (latest user message plus conversation history and structured tool * results) can be arbitrarily large. Prompt-injection pattern blocking and * output PII filtering still apply. */ export declare function resolveSecurityMiddleware(config: Pick): AgentMiddleware[]; //# sourceMappingURL=factory.d.ts.map