Interface: MetadataProvider

An interface for components that support metadata operations. Components implementing this interface can retrieve component metadata.

Methods 

getMetadata() 

getMetadata(): Promise<ComponentMetadata>

Returns the component metadata. Use this to get information about the embedded component, such as its name, description, and configuration.

Returns 

Promise<ComponentMetadata>

A promise that resolves to the ComponentMetadata object.