import { AxiosInstance, AxiosRequestConfig } from 'axios'; declare const request: AxiosInstance; export interface ApiResult { success: boolean; data?: T; error?: string; } export declare const handleApiRequest: (requestFn: () => Promise) => Promise>; export declare const get: (url: string, params?: any, config?: AxiosRequestConfig) => Promise; export declare const post: (url: string, data?: any, config?: AxiosRequestConfig) => Promise; export declare const put: (url: string, data?: any, config?: AxiosRequestConfig) => Promise; export declare const del: (url: string, config?: AxiosRequestConfig) => Promise; export default request;