import { Deeplinks } from '@ionic-native/deeplinks' ; import { Observable } from 'rxjs/Observable' ; import { Observer } from 'rxjs/Observer' ; export interface DeeplinkMatch { /**
     * The route info for the matched route
     */ $route : any ; /**
     * Any arguments passed either through route parameters or GET parameters
     */ $args : any ; /**
     * The deeplink object processed from the plugin, along with any
     * any internal native data available as "extras" at the time
     * the route was matched (for example, Facebook sometimes adds extra data)
     */ $link : any ; } export class DeeplinksMocks extends Deeplinks { param { paths } paths returns { Observable < DeeplinkMatch > } route ( paths ) { let response ; return Observable . create ( ( observer ) => { observer . next ( response ) ; observer . complete ( ) ; } ) ; } ; param { Nav } navController param { Object } paths returns { Observable < DeeplinkMatch > } routeWithNavController ( navController , paths ) { let response ; return Observable . create ( ( observer ) => { observer . next ( response ) ; observer . complete ( ) ; } ) ; } ; }