import { CueAuth } from './auth'; import { ReadonlySignal } from './signal'; import { ProcessingStatus } from './models'; export interface ProcessingStatusWatcher { /** Live pipeline status for the watched project; `undefined` until the first message arrives. */ status: ReadonlySignal; /** Stops the subscription and closes the underlying WebSocket. */ close(): void; } /** * Live pipeline-progress status, pushed by the `accessors-data-views` * processing-status WebSocket. Backs the upload modal and project-settings * "processing" indicators in the portal. */ export declare class CueProcessingApi { private readonly _auth; private readonly _gatewayUrl; constructor(_auth: CueAuth, _gatewayUrl: string); /** * Opens a live subscription to a project's pipeline status. Reconnects * automatically (with a fixed delay) if the connection drops, until `close()` * is called. */ watchStatus(projectId: string): ProcessingStatusWatcher; }