import type { SourcedExtractedTool } from "./common.js"; export interface ExtractorResult { tools: SourcedExtractedTool[]; warnings: string[]; } export interface Extractor { readonly name: string; detect(root: string): Promise; extract(root: string): Promise; } /** The first OpenAPI document the extractors find, in their order. */ export declare function firstOpenApiSpec(root: string): Promise; export declare const extractorRegistrations: readonly Extractor[]; export declare function runExtractors(root: string, registrations?: readonly Extractor[]): Promise;