interface ErrorResponse {
    message: string;
    code: string;
}
declare class AutumnError extends Error {
    readonly message: string;
    readonly code: string;
    constructor(response: ErrorResponse);
    toString(): string;
    toJSON(): {
        message: string;
        code: string;
    };
}

export { AutumnError as A };
