import type { MarketClient } from './client.js'; import type { AssetAccess, AssetType, GenerateJobStatus, GenerateResponse } from './schemas.js'; export declare class GenerateError extends Error { constructor(message: string); } export interface GenerateInput { description: string; type?: AssetType; /** Reference images (https URL or data URI) the result should match. */ referenceImages?: string[]; /** Requested visibility; omitted lets the server resolve it from entitlement. */ access?: AssetAccess; } export declare function startGeneration(client: MarketClient, input: GenerateInput): Promise; export declare function pollGeneration(client: MarketClient, jobId: string): Promise; export type PollOutcome = { status: 'completed'; assetName: string; version: string; } | { status: 'failed'; error: string; } | { status: 'running'; }; export declare function waitForGeneration(client: MarketClient, jobId: string, opts?: { windowMs?: number; onProgress?: (message: string) => void; }): Promise; //# sourceMappingURL=generate.d.ts.map