import type { CliConfig } from './cli-config.js'; /** * Reads and parses an AsyncAPI document (JSON or YAML) off disk. When the * document carries cross-file or remote `$ref`s, the whole document is * dereferenced with `@amritk/resolve-refs` under the same policy flags as JSON * Schema input — offline by default, SSRF-guarded, confined to the document's * directory. A document with only same-document `#/...` references (the common * case) skips that pass entirely: the extractor follows them itself, and keeps * `#/components/schemas/...` pointers *as names* so the generators emit one * type per component instead of an inlined blob. */ export declare const loadAsyncApiDocument: (config: Partial, documentPath: string) => Promise;