import { AxiosRequestConfig } from "axios"; interface Params { [key: string]: any; } interface GetProps { url: string; params?: Params; config?: AxiosRequestConfig; } interface PostProps { url: string; data?: Params; config?: AxiosRequestConfig; } export declare const API: { get: ({ url, params, config }: GetProps) => Promise; post: ({ url, config, data }: PostProps) => Promise; }; export {};