export declare function buildHeaders(pageUrl?: string): Record; /** * Fetch a Fragment page via AJAX navigation with automatic retry. */ export declare function fetchPageAjax(cookies: Record, headers: Record, pageUrl: string, timeout?: number): Promise>; /** * Fetch the API hash from Fragment homepage with caching and retry. */ export declare function fetchFragmentHash(cookies: Record, _headers: Record, _pageUrl: string, timeout?: number): Promise; /** * POST a request to the Fragment API with automatic retry. */ export declare function postFragmentApi(cookies: Record, fragmentHash: string, headers: Record, data: Record, timeout?: number): Promise>; //# sourceMappingURL=http.d.ts.map