ModeratorElection/frontend/generated/jar-resources/vaadin-dev-tools/theme-editor/metadata/registry.d.ts
2024-06-06 17:45:46 +02:00

11 lines
437 B
TypeScript

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 {};