import { asRecord, normalizeText, nowIso } from '../internal/utils.js';
import type { JsonObject } from '../internal/utils.js';
import type { NimiError } from '../types/index.js';
export declare const DEFAULT_REALM_TIMEOUT_MS = 10000;
export { asRecord, normalizeText, nowIso };
export declare function hasValue(value: unknown): boolean;
export declare function resolveBaseUrl(value: unknown): string;
export declare function isResponse(value: unknown): value is Response;
export declare function readErrorBody(value: unknown): JsonObject;
export declare function extractResponseReasonCode(body: JsonObject, response: Response): {
    rawReasonCode: string;
    reasonCode: string;
    code: string;
    actionHint: string;
    traceId: string;
    message: string;
    retryable: boolean;
    details: JsonObject;
};
export declare function mapRealmError(error: unknown): NimiError;
//# sourceMappingURL=client-helpers.d.ts.map