/**
 * HttpResponse - Response wrapper with utility methods
 * Provides convenient access to response status, headers, body, and parsed JSON
 */
/**
 * HTTP Response interface for convenience methods
 */
export interface IHttpResponse {
    status: number;
    headers: Record<string, string>;
    body: string;
    json<T = unknown>(): T;
    text(): string;
    ok: boolean;
    successful: boolean;
    failed: boolean;
    serverError: boolean;
    clientError: boolean;
    header(name: string): string | undefined;
    hasHeader(name: string): boolean;
    throwIfServerError(): IHttpResponse;
    throwIfClientError(): IHttpResponse;
}
/**
 * Create HTTP response from fetch Response
 */
export declare const createHttpResponse: (response: Response, body: string) => IHttpResponse;
declare const _default: {
    createHttpResponse: (response: Response, body: string) => IHttpResponse;
};
export default _default;
//# sourceMappingURL=HttpResponse.d.ts.map