package.dist.FeaturesRegistry.d.ts Maven / Gradle / Ivy
import type UI5Element from "./UI5Element.js";
declare abstract class ComponentFeature {
constructor(...args: any[]);
static define?: () => Promise;
static dependencies?: Array;
}
declare const registerFeature: (name: string, feature: object) => void;
declare const getFeature: (name: string) => T;
declare const registerComponentFeature: (name: string, feature: typeof ComponentFeature) => Promise;
declare const getComponentFeature: (name: string) => T;
declare const subscribeForFeatureLoad: (name: string, klass: typeof UI5Element, callback: () => void) => void;
export { registerFeature, getFeature, registerComponentFeature, getComponentFeature, subscribeForFeatureLoad, ComponentFeature, };