import axios from 'axios'; import { ParsedData } from '../types'; export declare function fetchApi(http: ReturnType, config: { maxDescLength: number; apiKey?: string; authMode?: string; timeout?: number; userAgent?: string; retryTimes?: number; retryInterval?: number; customHeaders?: { name: string; value: string; }[]; primaryApiUrl?: string; platformDedicatedFirst?: Record; globalFieldMapping?: string; }, url: string, type: string, platformConf?: { apiUrl?: string | null; dedicatedFirst?: boolean; apiKey?: string; authHeaderType?: string; customHeaderName?: string; fieldMapping?: Record; customProxy?: any; }): Promise;