import { PvError } from '@picovoice/web-utils';
import { PvStatus } from './types';
declare class LeopardError 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 LeopardOutOfMemoryError extends LeopardError {
    constructor(message: string, messageStack?: string[], pvError?: PvError | null);
}
declare class LeopardIOError extends LeopardError {
    constructor(message: string, messageStack?: string[], pvError?: PvError | null);
}
declare class LeopardInvalidArgumentError extends LeopardError {
    constructor(message: string, messageStack?: string[], pvError?: PvError | null);
}
declare class LeopardStopIterationError extends LeopardError {
    constructor(message: string, messageStack?: string[], pvError?: PvError | null);
}
declare class LeopardKeyError extends LeopardError {
    constructor(message: string, messageStack?: string[], pvError?: PvError | null);
}
declare class LeopardInvalidStateError extends LeopardError {
    constructor(message: string, messageStack?: string[], pvError?: PvError | null);
}
declare class LeopardRuntimeError extends LeopardError {
    constructor(message: string, messageStack?: string[], pvError?: PvError | null);
}
declare class LeopardActivationError extends LeopardError {
    constructor(message: string, messageStack?: string[], pvError?: PvError | null);
}
declare class LeopardActivationLimitReachedError extends LeopardError {
    constructor(message: string, messageStack?: string[], pvError?: PvError | null);
}
declare class LeopardActivationThrottledError extends LeopardError {
    constructor(message: string, messageStack?: string[], pvError?: PvError | null);
}
declare class LeopardActivationRefusedError extends LeopardError {
    constructor(message: string, messageStack?: string[], pvError?: PvError | null);
}
export { LeopardError, LeopardOutOfMemoryError, LeopardIOError, LeopardInvalidArgumentError, LeopardStopIterationError, LeopardKeyError, LeopardInvalidStateError, LeopardRuntimeError, LeopardActivationError, LeopardActivationLimitReachedError, LeopardActivationThrottledError, LeopardActivationRefusedError, };
export declare function pvStatusToException(pvStatus: PvStatus, errorMessage: string, messageStack?: string[], pvError?: PvError | null): LeopardError;
//# sourceMappingURL=leopard_errors.d.ts.map