import { model as amf } from 'amf-client-js'; import type { ModelInfo } from '../intermediate/model-info'; import type { ParseError, ParseWarning } from './logger'; export interface Parser { parse(): Promise; } export type ShapeKeyFields = { [key: string]: { valuePath: string; valueShape: amf.domain.Shape; resolvedValueIsUnionShape: boolean; }; }; export type ShapeKeys = { [shapeId: string]: ShapeKeyFields; }; export type ParseResults = { modelInfo: ModelInfo; errors: undefined; warnings?: ParseWarning[]; } | { modelInfo: undefined; errors: ParseError[]; warnings?: ParseWarning[]; }; export declare class LuvioRamlFileParser implements Parser { private ramlPath; constructor(ramlPath: string); parse(): Promise; }