/* Copyright IBM Corp. 2018 */ import { Type } from '@angular/core'; import { Observable } from 'rxjs'; import { CONTENT_ITEM_KIND } from './../../api'; import { LayoutComponentDirective, LayoutMappingDirective } from './../decorators/layout/layout.directive'; export interface RegisteredMapping { selector: string | string[] | Type; layoutMode?: string | string[]; /** * Type IDs or content IDs to map this to */ id?: string | string[]; /** * Type IDs to map this to */ kind?: CONTENT_ITEM_KIND | CONTENT_ITEM_KIND[]; } declare function _getRegistered(): Observable; declare function _registerFromLayoutComponent(aDirective: LayoutComponentDirective, aType: Type): void; declare function _registerFromMappingDirective(aDirective: LayoutMappingDirective, aComponent: Type): void; declare function _destroy(): void; export { _getRegistered as mappingGetRegistered, _registerFromLayoutComponent as mappingRegisterFromLayoutComponent, _registerFromMappingDirective as mappingRegisterFromMappingDirective, _destroy as mappingDestroy };