/**
 * Extract an HTTP status code from any error shape:
 * - AxiosError: `.response.status`
 * - Error / string with "(NNN)" suffix: regex parse
 */
export declare const extractHttpStatus: (error: unknown) => number | undefined;
/** Extract a human-readable message from any error shape. */
export declare const extractErrorMessage: (error: unknown) => string;
/** Resolve a dot-separated path (e.g. ".items" or ".data.results") on an object. */
export declare const getValueByPath: (obj: Record<string, unknown>, path: string) => unknown;
/** Check whether the response for a given reqIndex has an empty array at the specified path. */
export declare const isEmptyAtPath: (multiQueryData: Record<string, unknown>, reqIndex: number, path: string) => boolean;
export type TResultStatus = '403' | '404' | '500' | 'error';
export declare const STATUS_SEVERITY: Record<string, number>;
export declare const httpStatusToResultStatus: (statusCode: number | undefined) => TResultStatus;
export declare const getDefaultTitle: (status: string | number) => string;
/** Resolve the itemsPath for a specific position in the reqIndex array.
 *  - string → same path for all requests
 *  - string[] → positional mapping (itemsPath[index] for reqIndex at that position)
 *  - undefined → default ".items" */
export declare const resolveItemsPath: (itemsPath: string | string[] | undefined, index: number) => string;
/** Check a single reqIndex for errors/empty state. Returns null if OK. */
export declare const checkReqIndex: (reqIndex: number, multiQueryData: Record<string, unknown>, getErrorForReq: (i: number) => unknown, shouldCheckEmpty: boolean, itemsPath: string) => {
    resultStatus: TResultStatus;
    severity: number;
    message: string;
} | null;
/** Find the worst error across an array of reqIndexes. Returns null if all OK.
 *  itemsPath can be a string (same for all) or string[] (per-position). */
export declare const findWorstError: (reqIndexes: number[], multiQueryData: Record<string, unknown>, getErrorForReq: (i: number) => unknown, shouldCheckEmpty: boolean, itemsPath: string | string[] | undefined) => {
    resultStatus: TResultStatus;
    message: string;
} | null;
