import z, { type ZodObject, type ZodType } from "zod"; import { PromptBuilder } from "../prompt/prompt-builder.js"; import { Agent, type AgentInvokeOptions, type AgentOptions, type Message } from "./agent.js"; import { type ImageModelOutput } from "./image-model.js"; import { type FileType } from "./model.js"; export interface ImageAgentOptions extends Omit, "outputSchema"> { instructions: string | PromptBuilder; inputFileKey?: string; outputFileType?: FileType; } export declare const imageAgentOptionsSchema: ZodObject<{ [key in keyof ImageAgentOptions]: ZodType; }>; export declare class ImageAgent extends Agent { tag: string; static schema({ filepath }: { filepath: string; }): z.ZodObject<{ instructions: z.ZodType; inputFileKey: z.ZodType; }, "strip", z.ZodTypeAny, { instructions: import("../loader/schema.js").Instructions; inputFileKey?: string | undefined; }, { instructions: import("../loader/schema.js").Instructions; inputFileKey?: string | undefined; }>; static load(options: { filepath: string; parsed: object; }): Promise>; static from(options: ImageAgentOptions): ImageAgent; constructor(options: ImageAgentOptions); instructions: PromptBuilder; inputFileKey?: string; outputFileType?: FileType; process(input: I, options: AgentInvokeOptions): Promise; }