import type { ApiJson } from "../apiJson.js"; /** * If there were errors, they will be logged using the provided logger, and the * [ApiExtractor.errorCount](https://developers.arcgis.com/javascript/latest/references/api-extractor/extractor/ApiExtractor/#errorCount) will be incremented. */ export interface ApiExtractorResult { apiJson: ApiJson; /** * .d.ts files. This field is present only if either `context.dtsEmitPath` or * `types.forceProduceDts` option is set. */ dtsFiles?: Map; } export interface ApiExtractorWatcher { /** Callback to stop the watcher. */ close(): Promise; }