/* Copyright IBM Corp. 2018 */ import { OnDestroy } from '@angular/core'; import { Observable } from 'rxjs'; import { Layout } from './../../../api'; import { ComponentTypeRef } from './../../../ng-api'; import { MarkupService } from './../markup/markup.service'; export declare class ComponentsService implements OnDestroy { static readonly DEFAULT_LAYOUT: string; static readonly PAGE_NOT_FOUND_LAYOUT: string; registerType: (aController: string | string[], aType: ComponentTypeRef, aLayoutModes?: string | string[]) => void; getTypeByLayout: (aLayout: Layout, aLayoutMode?: string) => Observable>; getTypeBySelector: (aSelector: string, aLayoutMode?: string) => Observable>; ngOnDestroy: () => void; constructor(markupService: MarkupService); }