/** * GET 请求 */ declare function api_get(url: any, config: any): Promise>; /** * POST 请求 */ declare function api_post(url: any, data: any, config: any): Promise>; /** * PUT 请求 */ declare function api_put(url: any, data: any, config: any): Promise>; /** * DELETE 请求 */ declare function api_delete(url: any, config: any): Promise>; /** * PATCH 请求 */ declare function api_patch(url: any, data: any, config: any): Promise>; /** * HEAD 请求 */ declare function api_head(url: any, config: any): Promise>; /** * OPTIONS 请求 */ declare function api_options(url: any, config: any): Promise>; export { api_get, api_post, api_put, api_delete, api_patch, api_head, api_options, };