import { OpenAPIV3 } from 'openapi-types';
import { ConfigI } from '../../models/config.model';
/**
 * Main calss which parse the JSON/YAML file
 * If the file is a URL, it will download
 */
export declare class FileReaderService {
    private path;
    private configuration;
    private localFilePath;
    /**
     * Readed document
     */
    private _document;
    get document(): OpenAPIV3.Document;
    constructor(path: any, configuration?: ConfigI);
    readFile(): Promise<OpenAPIV3.Document>;
    showDocumentInfo(): void;
    upgradeFile(document: any): Promise<OpenAPIV3.Document>;
    /**
     * Convert from file definition to OpenAPI V3
     * @param from
     * @param document
     * @url https://github.com/LucyBot-Inc/api-spec-converter
     */
    private convertFile;
    private prepareFile;
    private parseFile;
}
//# sourceMappingURL=file-reader.service.d.ts.map