import { ComponentRef, ComponentFactoryResolver, Injector, ApplicationRef } from '@angular/core'; import { Observable } from 'rxjs/Observable'; import { NotifyEvent, NotifyOptions, NotifyConfig } from './notifiy.options'; /** * Check and return true if an object is type of string * @param obj Analyse has to object the string type * @return result of analysis */ export declare function isString(obj: any): boolean; /** * Check and return true if an object is type of number * @param obj Analyse has to object the boolean type * @return result of analysis */ export declare function isNumber(obj: any): boolean; /** * Check and return true if an object is type of Function * @param obj Analyse has to object the function type * @return result of analysis */ export declare function isFunction(obj: any): boolean; export declare class NotifyService { private cfr; private injector; private appRef; static THEMES: Array; uniqueCounter: number; private eventSource; events: Observable; notifyContainer: ComponentRef; config: NotifyConfig; constructor(cfr: ComponentFactoryResolver, injector: Injector, appRef: ApplicationRef); default(options: NotifyOptions | string | number): void; info(options: NotifyOptions | string | number): void; success(options: NotifyOptions | string | number): void; warning(options: NotifyOptions | string | number): void; error(options: NotifyOptions | string | number): void; clearAll(): void; clear(id: number): void; private createContainer(); private show(options, type); private _checkConfigItem(config, options, property); private clearDom(); }