import { ElementRef, EventEmitter, OnDestroy, AfterContentInit } from '@angular/core'; import * as i0 from "@angular/core"; /** * Factory that creates a new MutationObserver and allows us to stub it out in unit tests. * @docs-private */ export declare class MdMutationObserverFactory { create(callback: any): MutationObserver; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } /** * Directive that triggers a callback whenever the content of * its associated element has changed. */ export declare class ObserveContent implements AfterContentInit, OnDestroy { private _mutationObserverFactory; private _elementRef; private _observer; /** Event emitted for each change in the element's content. */ event: EventEmitter; /** Used for debouncing the emitted values to the observeContent event. */ private _debouncer; /** Debounce interval for emitting the changes. */ debounce: number; constructor(_mutationObserverFactory: MdMutationObserverFactory, _elementRef: ElementRef); ngAfterContentInit(): void; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } export declare class ObserveContentModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; }