@rishabhbothra/imagery
    Preparing search index...

    Type Alias ImageProgressEvent

    ImageProgressEvent:
        | {
            model: string;
            operation: ImageOperation;
            provider: ImageProvider;
            type: "started";
        }
        | { attempt: number; elapsedMs: number; reason: string; type: "retry" }
        | {
            from: { model: string; provider: ImageProvider };
            reason: string;
            to: { model: string; provider: ImageProvider };
            type: "fallback";
        }
        | {
            model: string;
            operation: ImageOperation;
            phase: "upload"
            | "processing";
            provider: ImageProvider;
            type: "provider-request";
        }
        | {
            latencyMs: number;
            model: string;
            operation: ImageOperation;
            provider: ImageProvider;
            type: "completed";
        }