import type $Refs from "./refs.js"; import type { ParserOptions } from "./options.js"; import type { JSONSchema } from "./types/index.js"; interface ParseTarget { url: string; reference?: string; baseUrl?: string; } /** * Reads and parses the specified file path or URL. */ declare function parse = ParserOptions>(target: string | ParseTarget, $refs: $Refs, options: O): Promise | S | undefined>; export default parse;