import type { model as amf } from 'amf-client-js'; /** * Recursively resolve the shape: * - Apply inherited properties for NodeShape * - Resolve inheritance for ArrayShape and UnionShape * - Resolve AnyShape * * The algorithm is equivalent to the resolve one from webapi-parser * (https://raml-org.github.io/webapi-parser/resolving.html), but keeps the shape relationships * intact. Preserving the shape relationships is import, since the shape declaration has some * semantic in this case. We would loose the semantic if we were to leverage the out of the * box resolve mechanism. */ export declare function resolveShape(shape: amf.domain.Shape): amf.domain.Shape | undefined;