/**
 * OWS Exception Report handling
 * Parses and handles OGC Web Services Exception Reports
 * @see https://schemas.opengis.net/ows/1.1.0/owsExceptionReport.xsd
 */
/**
 * Represents a single exception from an OWS Exception Report
 */
export interface OwsException {
    exceptionCode: string;
    locator?: string;
    exceptionText: string[];
}
/**
 * Represents an OWS Exception Report
 */
export interface OwsExceptionReport {
    version: string;
    exceptions: OwsException[];
}
/**
 * Custom error class for OWS Exception Reports
 */
export declare class OwsExceptionError extends Error {
    readonly report: OwsExceptionReport;
    constructor(report: OwsExceptionReport);
    /**
     * Get all exception messages as a formatted string
     */
    getAllMessages(): string;
}
/**
 * Checks if the XML string is an OWS Exception Report
 */
export declare function isOwsExceptionReport(xml: string): boolean;
/**
 * Parses an OWS Exception Report XML string
 */
export declare function parseOwsExceptionReport(xml: string): OwsExceptionReport;
/**
 * Parses an OWS Exception Report and throws an OwsExceptionError
 */
export declare function throwOwsException(xml: string): never;
