import type { VideoGenerationJob, VideoModelRef } from '@xopcai/gateway-contract'; export type VideoProviderInput = Pick & { model_ref: VideoModelRef; image_bytes: Uint8Array | null; image_mime: string | null; }; export type VideoProviderStatus = { state: 'submitted' | 'running'; } | { state: 'completed'; url: string; expiresAt?: number; } | { state: 'failed'; reason: string; }; export declare class VideoProviderError extends Error { readonly rejected: boolean; constructor(provider: string, status: number, code?: string); } export declare function safeVideoErrorCode(code: unknown): string;