/* Copyright IBM Corp. 2018 */ import { Type } from '@angular/core'; import { Observable } from 'rxjs'; import { LayoutComponentDirective } from './../decorators/layout/layout.directive'; /** * Adds one of our own annotations to the host and returns the set of * annotations. * * @param aAnnotation the annotation to add * @param aHost the host to add the annotations to * * @return the list of annotations */ declare function _addAnnotation(aAnnotation: any, aHost: any): any[]; export interface RegisteredComponent { directive: LayoutComponentDirective; type: Type; } declare function _getRegisteredComponents(): Observable; declare function _registerComponent(aDirective: LayoutComponentDirective, aType: Type): void; declare function _destroy(): void; declare function _getSelector(aSelector: string | Type | null | undefined): string | undefined; declare function _getSelectors(aSelector: string | string[] | Type | null | undefined): string[]; export { _getRegisteredComponents as cmpGetRegisteredComponents, _registerComponent as cmpRegisterComponent, _destroy as cmpDestroy, _addAnnotation as cmpAddAnnotation, _getSelectors as cmpGetSelectors, _getSelector as cmpGetSelector };