import { DocumentParsed, Document, Logger } from '../types'; declare class Parser { private documentParsed?; private logger; constructor(logger: Logger); /** * get the parsed document * @returns {object} */ document(): DocumentParsed | undefined; /** * Parse a openapi specification * @param {string|object} specification Filename of JSON/YAML file or object containing an openapi specification * @returns {object} fastify configuration information */ asyncParse(specification: Document): Promise; } export default Parser; //# sourceMappingURL=parser.d.ts.map