import type { MarketClient } from './client.js'; import type { AgentResult } from './schemas.js'; export declare class AgentError extends Error { constructor(message: string); } export interface AgentInput { goal: string; /** Reference images, each an http(s) URL or a data:image URI. */ referenceImages?: string[]; } /** * Start an agent run and wait for its result. `status` long-polls — it blocks * server-side until the run settles or a heartbeat window elapses — so we * re-request immediately with no client-side delay and no polling interval. */ export declare function agentAndWait(client: MarketClient, input: AgentInput): Promise; //# sourceMappingURL=agent.d.ts.map