import { FetchOptions, FetchReturn } from './types';
/**
 * Makes an authenticated fetch request to the specified URL with the provided options.
 * Handles various HTTP response statuses, including unauthorized and no content.
 *
 * @param {string} url - The URL to which the request is made.
 * @param {Options} [options] - Optional configuration for the fetch request, including HTTP method and other options.
 * @returns {Promise<{ data: T; headers: Headers; status: number }>} - A promise that resolves to an object containing the response data, headers, and status.
 * @throws {FetchError} - Throws a FetchError if the request fails or if unauthorized access is detected.
 */
export declare const fetchWithAuth: <T>(url: string, options?: FetchOptions) => Promise<FetchReturn<T>>;
export declare const errorMessages: {
    timeout: string;
    unexpected: string;
};
//# sourceMappingURL=fetchWithAuth.d.ts.map