ModeratorElection/frontend/generated/jar-resources/vaadin-dev-tools/theme-editor/metadata/registry.d.ts

12 lines
437 B
TypeScript
Raw Normal View History

2024-06-06 15:45:46 +00:00
import { ComponentReference } from '../../component-util';
import { ComponentMetadata } from './model';
type ModuleLoader = (modulePath: string) => Promise<any>;
export declare class MetadataRegistry {
private loader;
private metadata;
constructor(loader?: ModuleLoader);
getMetadata(component: ComponentReference): Promise<ComponentMetadata | null>;
}
export declare const metadataRegistry: MetadataRegistry;
export {};