import { IResParse } from '@/@types'; export type MethodType = 'get' | 'head' | 'post' | 'put' | 'delete' | 'connect' | 'options' | 'trace' | 'patch'; export interface IFetchConfig extends RequestInit { params: Record | BodyInit | null; responseParse?: IResParse; responseType?: 'text' | 'json' | 'blob' | 'formData' | 'arrayBuffer'; } declare const _default: (url: string, config?: Partial) => Promise; export default _default;