export default LocalFileLocation; /** * Class containing information about a local file */ declare class LocalFileLocation { /** * @param {string} path path to file on disk relative to basePath * @param {string} basePath basePath to the file's location on disk */ constructor(path: string, basePath: string); /** * @type {string} path to file on disk relative to this.basePath */ relative: string; /** * @type {string} absolute path to root files location on disk */ basePath: string; /** * @type {string} absolute path to file on disk, * this is a concatentation of this.basePath and this.relative */ absolute: string; /** * @type {string} file extension with "." character included. (eg. ".json") */ extension: string; /** * @type {string} full content-type header value for file */ contentType: string; /** * @type {string} mime type of file */ mimeType: string; }