import { type ErrorCode } from './error-codes'; /** * Base error class for Vroom SDK * All errors extend this class */ export declare class VroomError extends Error { /** Error code */ readonly code: ErrorCode; /** Additional error details */ readonly details?: unknown; /** Error timestamp */ readonly timestamp: number; constructor(code: ErrorCode, message: string, details?: unknown); } /** * Bad request error - missing or invalid request fields */ export declare class BadRequestError extends VroomError { constructor(message?: string, details?: unknown); } /** * Invalid API key error */ export declare class InvalidApiKeyError extends VroomError { constructor(message?: string, details?: unknown); } /** * Unauthorized error - invalid or expired auth token */ export declare class UnauthorizedError extends VroomError { constructor(message?: string, details?: unknown); } /** * Platform mismatch error */ export declare class PlatformMismatchError extends VroomError { constructor(message?: string, details?: unknown); } /** * Network error */ export declare class NetworkError extends VroomError { constructor(message?: string, details?: unknown); } /** * Timeout error */ export declare class TimeoutError extends VroomError { constructor(message?: string, details?: unknown); } /** * Service error */ export declare class ServiceError extends VroomError { constructor(message?: string, details?: unknown); } /** * Permission denied error */ export declare class PermissionDeniedError extends VroomError { constructor(message?: string, details?: unknown); } /** * Unsupported feature error */ export declare class UnsupportedFeatureError extends VroomError { constructor(message?: string, details?: unknown); } /** * Recording start error */ export declare class RecordingStartError extends VroomError { constructor(message?: string, details?: unknown); } /** * Recording backend is not configured or temporarily unavailable. */ export declare class RecordingUnavailableError extends VroomError { constructor(message?: string, details?: unknown); } /** * Not found error - resource does not exist */ export declare class NotFoundError extends VroomError { constructor(message?: string, details?: unknown); } /** * Conflict error - resource already exists or state conflict */ export declare class ConflictError extends VroomError { constructor(message?: string, details?: unknown); } /** * Method not allowed error */ export declare class MethodNotAllowedError extends VroomError { constructor(message?: string, details?: unknown); } /** * Forbidden error - access to resource is forbidden (e.g., cross-room access) */ export declare class ForbiddenError extends VroomError { constructor(message?: string, details?: unknown); } /** * Chat send interrupted because the session was torn down before the transport * confirmed completion. Releases the awaiting caller; does not guarantee that * the message failed to reach the receiver. */ export declare class ChatSendInterruptedError extends VroomError { constructor(message?: string, details?: unknown); } /** * Chat client-side rate limit exceeded */ export declare class ChatRateLimitedError extends VroomError { constructor(message?: string, details?: unknown); } /** * Chat is muted (participant- or room-level) */ export declare class ChatMutedError extends VroomError { constructor(message?: string, details?: unknown); } /** * Chat message payload exceeds the configured size limit. */ export declare class ChatPayloadTooLargeError extends VroomError { constructor(message?: string, details?: unknown); } //# sourceMappingURL=vroom.error.d.ts.map