forked from meissa/ModeratorElection
11 lines
437 B
TypeScript
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 {};
|