declare type ApiCallProps = { relativePath: string; method?: string; body?: any; }; declare const apiCall: ({ relativePath, method, body }: ApiCallProps) => Promise<{ json: any; status: number; }>; export default apiCall;