import { Observable } from 'rxjs'; import { Type } from '@angular/core'; import { RouterEvent } from '@angular/router'; /** * Creates an observable which emits only the specified routing event. * * @export * @template T The type of router event to observe. * @param {Type} eventType The type of router event to observe. * @return {Observable} An observable which emits only the specified routing event. */ export declare function useRouterEvent(eventType: Type): Observable;