import { PvError } from "@picovoice/web-utils";
import { PvStatus } from "./types";
declare class PicoLLMError 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 PicoLLMOutOfMemoryError extends PicoLLMError {
    constructor(message: string, messageStack?: string[], pvError?: PvError | null);
}
declare class PicoLLMIOError extends PicoLLMError {
    constructor(message: string, messageStack?: string[], pvError?: PvError | null);
}
declare class PicoLLMInvalidArgumentError extends PicoLLMError {
    constructor(message: string, messageStack?: string[], pvError?: PvError | null);
}
declare class PicoLLMStopIterationError extends PicoLLMError {
    constructor(message: string, messageStack?: string[], pvError?: PvError | null);
}
declare class PicoLLMKeyError extends PicoLLMError {
    constructor(message: string, messageStack?: string[], pvError?: PvError | null);
}
declare class PicoLLMInvalidStateError extends PicoLLMError {
    constructor(message: string, messageStack?: string[], pvError?: PvError | null);
}
declare class PicoLLMRuntimeError extends PicoLLMError {
    constructor(message: string, messageStack?: string[], pvError?: PvError | null);
}
declare class PicoLLMActivationError extends PicoLLMError {
    constructor(message: string, messageStack?: string[], pvError?: PvError | null);
}
declare class PicoLLMActivationLimitReachedError extends PicoLLMError {
    constructor(message: string, messageStack?: string[], pvError?: PvError | null);
}
declare class PicoLLMActivationThrottledError extends PicoLLMError {
    constructor(message: string, messageStack?: string[], pvError?: PvError | null);
}
declare class PicoLLMActivationRefusedError extends PicoLLMError {
    constructor(message: string, messageStack?: string[], pvError?: PvError | null);
}
export { PicoLLMError, PicoLLMOutOfMemoryError, PicoLLMIOError, PicoLLMInvalidArgumentError, PicoLLMStopIterationError, PicoLLMKeyError, PicoLLMInvalidStateError, PicoLLMRuntimeError, PicoLLMActivationError, PicoLLMActivationLimitReachedError, PicoLLMActivationThrottledError, PicoLLMActivationRefusedError, };
export declare function pvStatusToException(pvStatus: PvStatus, errorMessage: string, messageStack?: string[], pvError?: PvError | null): PicoLLMError;
//# sourceMappingURL=picollm_errors.d.ts.map