import { InjectionToken } from '@angular/core' ; import { Observable } from 'rxjs' ; import { DaffExternallyResolvableUrl } from '@daffodil/external-router' ; /**
 * The token for the `@daffodil/external-router` driver.
 */ export const DaffExternalRouterDriver = new InjectionToken < DaffExternalRouterDriverInterface > ( 'DaffExternalRouterDriver' ) ; /**
 * The interface for a @daffodil/external-router driver.
 *
 * This driver is responsible for translating a URL into a Route consumable by
 * Daffodil.
 */ export interface DaffExternalRouterDriverInterface { param url resolve ( url ) : Observable < DaffExternallyResolvableUrl > ; }