import type { ClashDetectionError, ClashDetectionErrorDetail } from "./interfaces/ClashDetectionErrorInterfaces";
import { ClashDetectionErrorCode } from "./interfaces/ClashDetectionErrorInterfaces";
export declare function isClashDetectionApiError(error: unknown): error is ClashDetectionError;
export declare class ClashDetectionErrorImpl extends Error implements ClashDetectionError {
    code: ClashDetectionErrorCode;
    details?: ClashDetectionErrorDetail[];
    constructor(params: {
        code: ClashDetectionErrorCode;
        message: string;
        details?: ClashDetectionErrorDetail[];
    });
}
export declare class ClashDetectionErrorParser {
    private static readonly _defaultErrorMessage;
    static parse(response: {
        statusCode?: number;
        body?: unknown;
    }): Error;
    private static parseCode;
    private static parseDetails;
    private static parseAndFormatMessage;
}
//# sourceMappingURL=ClashDetectionErrorParser.d.ts.map