import { ParamExtractor } from "~/parse/param-extractor"; import type { Extract } from "~/types"; import type { OpenApiSpec } from "~/types"; export declare class SpecParser { private readonly paramExtractor; constructor(paramExtractor?: ParamExtractor); parse(specPath: string): Promise; load(specPath: string): Promise>; /** Replace all `$ref` pointers in a schema with their referenced values. */ removeRefs(schema: OpenApiSpec.Document): OpenApiSpec.Document; /** Resolve a `$ref` pointer in a schema, returning the referenced value. */ private resolveRef; extract(spec: OpenApiSpec.Document): Extract; private extractDescriptors; private extractAuth; private extractResourcesOperations; private inferOperationId; }