import { OnDestroy } from '@angular/core';
import { Observable } from 'rxjs/Observable';
export declare function takeUntilDestroyed<T>(this: Observable<T>, component: OnDestroy): Observable<T>;
declare module 'rxjs/Observable' {
    interface Observable<T> {
        takeUntilDestroyed: typeof takeUntilDestroyed;
    }
}
