/*! * Copyright (c) 2020 Ville de Montreal. All rights reserved. * Licensed under the MIT license. * See LICENSE file in the project root for full license information. */ import { AxiosRequestConfig } from 'axios'; /** * returns the method and url of the config, while applying baseURL when necessary. * @param config the Axios config * @returns the method and url */ export declare function getRequestInfo(config: AxiosRequestConfig): { method: string; url: string; }; export declare function getHeader(config: AxiosRequestConfig, name: string): string | number | boolean | undefined;