import type { OpenAPIV3 } from 'openapi-types'; import type { ParseContextType } from '../../../context/parseTypes.js'; import { OasInfo } from '../../../oas/info/Info.js'; import type { StackTrail } from '../../../context/StackTrail.js'; export type ToInfoV3Args = { /** Required by the spec; a document without it still parses (see {@link toPresentInfo}). */ info: OpenAPIV3.InfoObject | null | undefined; stackTrail: StackTrail; context: ParseContextType; }; export declare const toInfoV3: ({ info, stackTrail, context }: ToInfoV3Args) => OasInfo;