/** * @file src/modules/http/index.ts * @version 2.1.0 * @since 2.0.0 * @license GPL-3.0-or-later * @copyright Sven Minio 2026 * @author Sven Minio * @category HTTP * @description * * Central entry point for HTTP requests. Aggregates GET and POST methods. * @requires ./get * * HTTP GET methods (get, getText). * @requires ./post * * HTTP POST methods. * @requires ./upload * * HTTP file upload method with progress tracking. */ /** * * The central HTTP client of the framework. Aggregates all HTTP methods (GET, POST, etc.) into a unified interface. Acts as a wrapper around the native `fetch` API to simplify JSON parsing, error handling, and typing. */ export declare const http: { upload(url: string, data: FormData | File, onProgress?: (percentage: number, loaded: number, total: number) => void): Promise; post(url: string, body?: any, option?: RequestInit): Promise; get(url: string, option?: RequestInit): Promise; getText(url: string, option?: RequestInit): Promise; }; //# sourceMappingURL=index.d.ts.map