export declare const MOTION_TRACK_ERROR_CODES: readonly ["SOURCE_ABORTED", "SOURCE_DISPOSED", "SOURCE_HTTP_STATUS", "UTSBM_MANIFEST_INVALID", "UTSBM_FRAME_COVERAGE", "UTSBM_HASH_MISMATCH", "UTSBM_DECODE_FAILED", "UTSBM_DECODED_LENGTH"]; export type MotionTrackErrorCode = typeof MOTION_TRACK_ERROR_CODES[number]; export interface MotionTrackErrorContext { product?: string | undefined; track?: string | undefined; cause?: unknown; } /** * Stable internal failure surface for indexed numerical tracks. * * Messages are diagnostic and may evolve. Consumers that implement fallback or * telemetry policy must use {@link code}. */ export declare class MotionTrackError extends Error { readonly code: MotionTrackErrorCode; readonly product: string | undefined; readonly track: string | undefined; constructor(code: MotionTrackErrorCode, message: string, context?: MotionTrackErrorContext); } export declare function motionTrackFail(code: MotionTrackErrorCode, message: string, context?: MotionTrackErrorContext): never; export declare function isMotionTrackError(value: unknown, code?: MotionTrackErrorCode): value is MotionTrackError;