/// import { IncomingHttpHeaders, OutgoingHttpHeaders } from 'http'; import APIOptions from '../model/APIOptions'; export default function fetch(apiPath: string, apiOptions: APIOptions, method: 'GET' | 'POST' | 'PUT', headers?: OutgoingHttpHeaders, body?: string): Promise<{ body: string; headers: IncomingHttpHeaders; statusCode: number; }>;