export declare namespace ServerError {
    interface Options {
        response: Response;
        bodyText: string;
    }
}
/**
 * Thrown when a non-200 response is returned from the server.
 */
export declare class ServerError extends Error {
    /** Determine if an error is a `ServerError` instance */
    static is(error: unknown): error is ServerError;
    /**
     * The server response.
     */
    response: Response;
    /**
     * The status code returned from the server.
     */
    statusCode: number;
    /**
     * The raw response body text.
     */
    bodyText: string;
    constructor(message: string, options: ServerError.Options);
}
//# sourceMappingURL=ServerError.d.ts.map
