export interface ErrorJSONObject {
    name: string;
    code: string;
    type: string;
    message: string;
}
export declare class BuiltInError {
    message: string;
    stack: string;
    readonly name: string;
    constructor(message: string);
}
export declare class BasementClientError extends BuiltInError {
    name: string;
    code: string;
    type: string;
    message: string;
    constructor(name: string, code: string, type: string, message: string);
    static from(raw: ErrorJSONObject): BasementClientError;
}
