import { PvError } from "@picovoice/web-utils"; import { PvStatus } from "./types"; declare class RhinoError extends Error { private readonly _status; private readonly _shortMessage; private readonly _messageStack; constructor(status: PvStatus, message: string, messageStack?: string[], pvError?: PvError | null); get status(): PvStatus; get shortMessage(): string; get messageStack(): string[]; private static errorToString; } declare class RhinoOutOfMemoryError extends RhinoError { constructor(message: string, messageStack?: string[], pvError?: PvError | null); } declare class RhinoIOError extends RhinoError { constructor(message: string, messageStack?: string[], pvError?: PvError | null); } declare class RhinoInvalidArgumentError extends RhinoError { constructor(message: string, messageStack?: string[], pvError?: PvError | null); } declare class RhinoStopIterationError extends RhinoError { constructor(message: string, messageStack?: string[], pvError?: PvError | null); } declare class RhinoKeyError extends RhinoError { constructor(message: string, messageStack?: string[], pvError?: PvError | null); } declare class RhinoInvalidStateError extends RhinoError { constructor(message: string, messageStack?: string[], pvError?: PvError | null); } declare class RhinoRuntimeError extends RhinoError { constructor(message: string, messageStack?: string[], pvError?: PvError | null); } declare class RhinoActivationError extends RhinoError { constructor(message: string, messageStack?: string[], pvError?: PvError | null); } declare class RhinoActivationLimitReachedError extends RhinoError { constructor(message: string, messageStack?: string[], pvError?: PvError | null); } declare class RhinoActivationThrottledError extends RhinoError { constructor(message: string, messageStack?: string[], pvError?: PvError | null); } declare class RhinoActivationRefusedError extends RhinoError { constructor(message: string, messageStack?: string[], pvError?: PvError | null); } export { RhinoError, RhinoOutOfMemoryError, RhinoIOError, RhinoInvalidArgumentError, RhinoStopIterationError, RhinoKeyError, RhinoInvalidStateError, RhinoRuntimeError, RhinoActivationError, RhinoActivationLimitReachedError, RhinoActivationThrottledError, RhinoActivationRefusedError, }; export declare function pvStatusToException(pvStatus: PvStatus, errorMessage: string, messageStack?: string[], pvError?: PvError | null): RhinoError; //# sourceMappingURL=rhino_errors.d.ts.map