/**
 * Format the url.
 * @function formatUrl
 * @param {string} path Path (or URL) to be formatted.
 * @returns {string} Formatted path.
 */
export function formatUrl(path: string): string;
export default Api;
/**
 * Api class.
 * @class Api
 */
declare class Api {
    /**
     * Constructor
     * @method constructor
     * @constructs Api
     */
    constructor(req: any);
}
