import { PvError } from '@picovoice/web-utils';
import { PvStatus } from './types';
declare class KoalaError 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 KoalaOutOfMemoryError extends KoalaError {
    constructor(message: string, messageStack?: string[], pvError?: PvError | null);
}
declare class KoalaIOError extends KoalaError {
    constructor(message: string, messageStack?: string[], pvError?: PvError | null);
}
declare class KoalaInvalidArgumentError extends KoalaError {
    constructor(message: string, messageStack?: string[], pvError?: PvError | null);
}
declare class KoalaStopIterationError extends KoalaError {
    constructor(message: string, messageStack?: string[], pvError?: PvError | null);
}
declare class KoalaKeyError extends KoalaError {
    constructor(message: string, messageStack?: string[], pvError?: PvError | null);
}
declare class KoalaInvalidStateError extends KoalaError {
    constructor(message: string, messageStack?: string[], pvError?: PvError | null);
}
declare class KoalaRuntimeError extends KoalaError {
    constructor(message: string, messageStack?: string[], pvError?: PvError | null);
}
declare class KoalaActivationError extends KoalaError {
    constructor(message: string, messageStack?: string[], pvError?: PvError | null);
}
declare class KoalaActivationLimitReachedError extends KoalaError {
    constructor(message: string, messageStack?: string[], pvError?: PvError | null);
}
declare class KoalaActivationThrottledError extends KoalaError {
    constructor(message: string, messageStack?: string[], pvError?: PvError | null);
}
declare class KoalaActivationRefusedError extends KoalaError {
    constructor(message: string, messageStack?: string[], pvError?: PvError | null);
}
export { KoalaError, KoalaOutOfMemoryError, KoalaIOError, KoalaInvalidArgumentError, KoalaStopIterationError, KoalaKeyError, KoalaInvalidStateError, KoalaRuntimeError, KoalaActivationError, KoalaActivationLimitReachedError, KoalaActivationThrottledError, KoalaActivationRefusedError, };
export declare function pvStatusToException(pvStatus: PvStatus, errorMessage: string, messageStack?: string[], pvError?: PvError | null): KoalaError;
//# sourceMappingURL=koala_errors.d.ts.map