import type { ComputeNamespace, InvokeTranscribeResult, TranscribeProgressState } from "../compute.js"; import type { LocalPendingEntry } from "../transcribe-resilience.js"; export interface UseAithosTranscribePendingJobs { /** Locally-tracked in-flight jobs (survives reloads via localStorage). */ readonly pending: readonly LocalPendingEntry[]; /** Resume polling a job by id; resolves with the final transcript. */ readonly resume: (jobId: string, opts?: { readonly mandateId?: string; readonly onProgress?: (state: TranscribeProgressState) => void; readonly signal?: AbortSignal; readonly pollIntervalMs?: number; }) => Promise; } /** * Subscribe a React component to the SDK's local pending-transcription * registry. Re-renders whenever a job is added, advances, or clears. * * @param compute the SDK compute namespace (`sdk.compute`). */ export declare function useAithosTranscribePendingJobs(compute: ComputeNamespace): UseAithosTranscribePendingJobs; //# sourceMappingURL=use-transcribe-pending.d.ts.map