import { DataInput } from "@/components/model/DataInput";
import { DataOutput } from "@/components/model/DataOutput";
declare class ApiService {
    createBasicHeaders(): {
        "Content-Type": string;
        Accept: string;
    };
    createAuthHeaders(): {
        "Content-Type": string;
        Accept: string;
    };
    fetch(path: string, query: any, body: DataInput<any> | undefined, method: string, header: any): Promise<DataOutput<any>>;
    serialize(data: any): string | undefined;
    /**
     * @description: url请求参数组装
     * @author ChenRui
     * @date 2020/8/28 15:21
     */
    urlQueryConvert(url: string, query: any): string;
}
declare const apiService: ApiService;
export default apiService;
