Interface: MetadataProvider

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

getMetadata(): Promise<ComponentMetadata>

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

Promise<ComponentMetadata>

A promise that resolves to the ComponentMetadata object.