| 
									
										
										
										
											2016-06-22 14:56:10 -07:00
										 |  |  | export declare class ActivatedRoute { | 
					
						
							| 
									
										
										
										
											2019-11-09 20:36:22 +02:00
										 |  |  |     get children(): ActivatedRoute[]; | 
					
						
							| 
									
										
										
										
											2017-04-17 11:13:13 -07:00
										 |  |  |     component: Type<any> | string | null; | 
					
						
							| 
									
										
										
										
											2016-06-27 14:00:07 -07:00
										 |  |  |     data: Observable<Data>; | 
					
						
							| 
									
										
										
										
											2019-11-09 20:36:22 +02:00
										 |  |  |     get firstChild(): ActivatedRoute | null; | 
					
						
							| 
									
										
										
										
											2016-08-02 15:31:56 -07:00
										 |  |  |     fragment: Observable<string>; | 
					
						
							| 
									
										
										
										
											2016-06-23 18:19:32 -07:00
										 |  |  |     outlet: string; | 
					
						
							| 
									
										
										
										
											2019-11-09 20:36:22 +02:00
										 |  |  |     get paramMap(): Observable<ParamMap>; | 
					
						
							| 
									
										
										
										
											2016-06-23 18:19:32 -07:00
										 |  |  |     params: Observable<Params>; | 
					
						
							| 
									
										
										
										
											2019-11-09 20:36:22 +02:00
										 |  |  |     get parent(): ActivatedRoute | null; | 
					
						
							|  |  |  |     get pathFromRoot(): ActivatedRoute[]; | 
					
						
							|  |  |  |     get queryParamMap(): Observable<ParamMap>; | 
					
						
							| 
									
										
										
										
											2016-08-02 15:31:56 -07:00
										 |  |  |     queryParams: Observable<Params>; | 
					
						
							| 
									
										
										
										
											2019-11-09 20:36:22 +02:00
										 |  |  |     get root(): ActivatedRoute; | 
					
						
							|  |  |  |     get routeConfig(): Route | null; | 
					
						
							| 
									
										
										
										
											2016-06-22 14:56:10 -07:00
										 |  |  |     snapshot: ActivatedRouteSnapshot; | 
					
						
							| 
									
										
										
										
											2016-07-25 12:15:07 -07:00
										 |  |  |     url: Observable<UrlSegment[]>; | 
					
						
							| 
									
										
										
										
											2016-06-22 14:56:10 -07:00
										 |  |  |     toString(): string; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | export declare class ActivatedRouteSnapshot { | 
					
						
							| 
									
										
										
										
											2019-11-09 20:36:22 +02:00
										 |  |  |     get children(): ActivatedRouteSnapshot[]; | 
					
						
							| 
									
										
										
										
											2017-04-17 11:13:13 -07:00
										 |  |  |     component: Type<any> | string | null; | 
					
						
							| 
									
										
										
										
											2016-06-27 14:00:07 -07:00
										 |  |  |     data: Data; | 
					
						
							| 
									
										
										
										
											2019-11-09 20:36:22 +02:00
										 |  |  |     get firstChild(): ActivatedRouteSnapshot | null; | 
					
						
							| 
									
										
										
										
											2016-08-02 15:31:56 -07:00
										 |  |  |     fragment: string; | 
					
						
							| 
									
										
										
										
											2016-06-23 18:19:32 -07:00
										 |  |  |     outlet: string; | 
					
						
							| 
									
										
										
										
											2019-11-09 20:36:22 +02:00
										 |  |  |     get paramMap(): ParamMap; | 
					
						
							| 
									
										
										
										
											2016-06-23 18:19:32 -07:00
										 |  |  |     params: Params; | 
					
						
							| 
									
										
										
										
											2019-11-09 20:36:22 +02:00
										 |  |  |     get parent(): ActivatedRouteSnapshot | null; | 
					
						
							|  |  |  |     get pathFromRoot(): ActivatedRouteSnapshot[]; | 
					
						
							|  |  |  |     get queryParamMap(): ParamMap; | 
					
						
							| 
									
										
										
										
											2016-08-02 15:31:56 -07:00
										 |  |  |     queryParams: Params; | 
					
						
							| 
									
										
										
										
											2019-11-09 20:36:22 +02:00
										 |  |  |     get root(): ActivatedRouteSnapshot; | 
					
						
							| 
									
										
										
										
											2017-04-17 11:13:13 -07:00
										 |  |  |     readonly routeConfig: Route | null; | 
					
						
							| 
									
										
										
										
											2016-07-25 12:15:07 -07:00
										 |  |  |     url: UrlSegment[]; | 
					
						
							| 
									
										
										
										
											2016-06-22 14:56:10 -07:00
										 |  |  |     toString(): string; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-09-06 11:00:32 -07:00
										 |  |  | export declare class ActivationEnd { | 
					
						
							|  |  |  |     snapshot: ActivatedRouteSnapshot; | 
					
						
							|  |  |  |     constructor( | 
					
						
							| 
									
										
										
										
											2018-06-25 11:11:22 +02:00
										 |  |  |     snapshot: ActivatedRouteSnapshot); | 
					
						
							| 
									
										
										
										
											2017-09-06 11:00:32 -07:00
										 |  |  |     toString(): string; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | export declare class ActivationStart { | 
					
						
							|  |  |  |     snapshot: ActivatedRouteSnapshot; | 
					
						
							|  |  |  |     constructor( | 
					
						
							| 
									
										
										
										
											2018-06-25 11:11:22 +02:00
										 |  |  |     snapshot: ActivatedRouteSnapshot); | 
					
						
							| 
									
										
										
										
											2017-09-06 11:00:32 -07:00
										 |  |  |     toString(): string; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-02-26 09:09:35 -08:00
										 |  |  | export declare interface CanActivate { | 
					
						
							| 
									
										
										
										
											2018-10-03 15:35:13 -07:00
										 |  |  |     canActivate(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): Observable<boolean | UrlTree> | Promise<boolean | UrlTree> | boolean | UrlTree; | 
					
						
							| 
									
										
										
										
											2016-07-13 18:12:59 -07:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-02-26 09:09:35 -08:00
										 |  |  | export declare interface CanActivateChild { | 
					
						
							| 
									
										
										
										
											2018-10-03 15:35:13 -07:00
										 |  |  |     canActivateChild(childRoute: ActivatedRouteSnapshot, state: RouterStateSnapshot): Observable<boolean | UrlTree> | Promise<boolean | UrlTree> | boolean | UrlTree; | 
					
						
							| 
									
										
										
										
											2016-06-22 14:56:10 -07:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-02-26 09:09:35 -08:00
										 |  |  | export declare interface CanDeactivate<T> { | 
					
						
							| 
									
										
										
										
											2018-10-03 15:35:13 -07:00
										 |  |  |     canDeactivate(component: T, currentRoute: ActivatedRouteSnapshot, currentState: RouterStateSnapshot, nextState?: RouterStateSnapshot): Observable<boolean | UrlTree> | Promise<boolean | UrlTree> | boolean | UrlTree; | 
					
						
							| 
									
										
										
										
											2016-06-22 14:56:10 -07:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-02-26 09:09:35 -08:00
										 |  |  | export declare interface CanLoad { | 
					
						
							| 
									
										
										
										
											2020-04-13 10:50:44 -07:00
										 |  |  |     canLoad(route: Route, segments: UrlSegment[]): Observable<boolean | UrlTree> | Promise<boolean | UrlTree> | boolean | UrlTree; | 
					
						
							| 
									
										
										
										
											2016-07-26 14:39:02 -07:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-09-05 11:54:33 -07:00
										 |  |  | export declare class ChildActivationEnd { | 
					
						
							| 
									
										
										
										
											2017-09-04 13:00:59 -07:00
										 |  |  |     snapshot: ActivatedRouteSnapshot; | 
					
						
							| 
									
										
										
										
											2017-09-05 11:54:33 -07:00
										 |  |  |     constructor( | 
					
						
							| 
									
										
										
										
											2018-06-25 11:11:22 +02:00
										 |  |  |     snapshot: ActivatedRouteSnapshot); | 
					
						
							| 
									
										
										
										
											2017-07-25 11:13:15 -07:00
										 |  |  |     toString(): string; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-09-05 11:54:33 -07:00
										 |  |  | export declare class ChildActivationStart { | 
					
						
							| 
									
										
										
										
											2017-09-04 13:00:59 -07:00
										 |  |  |     snapshot: ActivatedRouteSnapshot; | 
					
						
							| 
									
										
										
										
											2017-09-05 11:54:33 -07:00
										 |  |  |     constructor( | 
					
						
							| 
									
										
										
										
											2018-06-25 11:11:22 +02:00
										 |  |  |     snapshot: ActivatedRouteSnapshot); | 
					
						
							| 
									
										
										
										
											2017-07-25 11:13:15 -07:00
										 |  |  |     toString(): string; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-05-17 17:47:34 -07:00
										 |  |  | export declare class ChildrenOutletContexts { | 
					
						
							|  |  |  |     getContext(childName: string): OutletContext | null; | 
					
						
							|  |  |  |     getOrCreateContext(childName: string): OutletContext; | 
					
						
							|  |  |  |     onChildOutletCreated(childName: string, outlet: RouterOutlet): void; | 
					
						
							|  |  |  |     onChildOutletDestroyed(childName: string): void; | 
					
						
							|  |  |  |     onOutletDeactivated(): Map<string, OutletContext>; | 
					
						
							|  |  |  |     onOutletReAttached(contexts: Map<string, OutletContext>): void; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-03-20 09:19:25 -07:00
										 |  |  | export declare function convertToParamMap(params: Params): ParamMap; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-06-27 14:00:07 -07:00
										 |  |  | export declare type Data = { | 
					
						
							|  |  |  |     [name: string]: any; | 
					
						
							|  |  |  | }; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-06-22 14:56:10 -07:00
										 |  |  | export declare class DefaultUrlSerializer implements UrlSerializer { | 
					
						
							|  |  |  |     parse(url: string): UrlTree; | 
					
						
							|  |  |  |     serialize(tree: UrlTree): string; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
											  
											
												feat(router): deprecate loadChildren:string (#30073)
The proposed ES dynamic import() is now supported by the Angular CLI and the
larger toolchain. This renders the `loadChildren: string` API largely
redundant, as import() is far more natural, is less error-prone, and is
standards compliant. This commit deprecates the `string` form of
`loadChildren` in favor of dynamic import().
DEPRECATION:
When defining lazy-loaded route, Angular previously offered two options for
configuring the module to be loaded, both via the `loadChildren` parameter
of the route. Most Angular developers are familiar withthe `string` form of
this API. For example, the following route definition configures Angular to
load a `LazyModule` NgModule from `lazy-route/lazy.module.ts`:
```
[{
  path: 'lazy',
  loadChildren: 'lazy-route/lazy.module#LazyModule',
}]
```
This "magic string" configuration was previously necessary as there was
no dynamic module loading standard on the web. This has changed with the
pending standardization of dynamic `import()` expressions, which are now
supported in the Angular CLI and in web tooling in general. `import()`
offers a more natural and robust solution to dynamic module loading. The
above example can be rewritten to use dynamic `import()`:
```
[{
  path: 'lazy',
  loadChildren: () => import('./lazy-route/lazy.module').then(mod => mod.LazyModule),
}]
```
This form of lazy loading offers significant advantages in terms of:
* type checking via TypeScript
* simplicity of generated code
* future potential to run natively in supporting browsers
  (see: [caniuse: dynamic import()](https://caniuse.com/#feat=es6-module-dynamic-import))
As a result, Angular is deprecating the `loadChildren: string` syntax in
favor of ES dynamic `import()`. An automatic migration will run during
`ng upgrade` to convert your existing Angular code to the new syntax.
PR Close #30073
											
										 
											2019-04-23 14:30:09 -07:00
										 |  |  | /** @deprecated */ | 
					
						
							|  |  |  | export declare type DeprecatedLoadChildren = string; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-11-29 23:21:41 -08:00
										 |  |  | export declare type DetachedRouteHandle = {}; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-05-17 07:33:50 -04:00
										 |  |  | export declare type Event = RouterEvent | RouteConfigLoadStart | RouteConfigLoadEnd | ChildActivationStart | ChildActivationEnd | ActivationStart | ActivationEnd | Scroll; | 
					
						
							| 
									
										
										
										
											2016-06-22 14:56:10 -07:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-02-26 09:09:35 -08:00
										 |  |  | export declare interface ExtraOptions { | 
					
						
							| 
									
										
										
										
											2018-05-17 07:33:50 -04:00
										 |  |  |     anchorScrolling?: 'disabled' | 'enabled'; | 
					
						
							| 
									
										
										
										
											2016-06-22 14:56:10 -07:00
										 |  |  |     enableTracing?: boolean; | 
					
						
							| 
									
										
										
										
											2016-08-25 07:56:30 -07:00
										 |  |  |     errorHandler?: ErrorHandler; | 
					
						
							| 
									
										
										
										
											2017-03-07 17:27:20 -05:00
										 |  |  |     initialNavigation?: InitialNavigation; | 
					
						
							| 
									
										
										
										
											2018-04-10 05:01:07 -05:00
										 |  |  |     malformedUriErrorHandler?: (error: URIError, urlSerializer: UrlSerializer, url: string) => UrlTree; | 
					
						
							| 
									
										
										
										
											2017-10-19 18:32:50 -04:00
										 |  |  |     onSameUrlNavigation?: 'reload' | 'ignore'; | 
					
						
							| 
									
										
										
										
											2017-11-28 16:57:10 -08:00
										 |  |  |     paramsInheritanceStrategy?: 'emptyOnly' | 'always'; | 
					
						
							| 
									
										
										
										
											2016-09-16 17:31:24 -07:00
										 |  |  |     preloadingStrategy?: any; | 
					
						
							| 
									
										
										
										
											2018-02-23 10:24:51 +01:00
										 |  |  |     relativeLinkResolution?: 'legacy' | 'corrected'; | 
					
						
							| 
									
										
										
										
											2018-05-17 07:33:50 -04:00
										 |  |  |     scrollOffset?: [number, number] | (() => [number, number]); | 
					
						
							|  |  |  |     scrollPositionRestoration?: 'disabled' | 'enabled' | 'top'; | 
					
						
							| 
									
										
										
										
											2018-07-10 09:44:15 -07:00
										 |  |  |     urlUpdateStrategy?: 'deferred' | 'eager'; | 
					
						
							| 
									
										
										
										
											2016-07-27 09:54:19 -07:00
										 |  |  |     useHash?: boolean; | 
					
						
							| 
									
										
										
										
											2016-06-22 14:56:10 -07:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-07-25 11:13:15 -07:00
										 |  |  | export declare class GuardsCheckEnd extends RouterEvent { | 
					
						
							| 
									
										
										
										
											2017-07-01 10:30:17 -07:00
										 |  |  |     shouldActivate: boolean; | 
					
						
							|  |  |  |     state: RouterStateSnapshot; | 
					
						
							|  |  |  |     urlAfterRedirects: string; | 
					
						
							|  |  |  |     constructor( | 
					
						
							| 
									
										
										
										
											2018-06-25 11:11:22 +02:00
										 |  |  |     id: number, | 
					
						
							|  |  |  |     url: string, | 
					
						
							|  |  |  |     urlAfterRedirects: string, | 
					
						
							|  |  |  |     state: RouterStateSnapshot, | 
					
						
							|  |  |  |     shouldActivate: boolean); | 
					
						
							| 
									
										
										
										
											2017-07-01 10:30:17 -07:00
										 |  |  |     toString(): string; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-07-25 11:13:15 -07:00
										 |  |  | export declare class GuardsCheckStart extends RouterEvent { | 
					
						
							| 
									
										
										
										
											2017-07-01 10:30:17 -07:00
										 |  |  |     state: RouterStateSnapshot; | 
					
						
							|  |  |  |     urlAfterRedirects: string; | 
					
						
							|  |  |  |     constructor( | 
					
						
							| 
									
										
										
										
											2018-06-25 11:11:22 +02:00
										 |  |  |     id: number, | 
					
						
							|  |  |  |     url: string, | 
					
						
							|  |  |  |     urlAfterRedirects: string, | 
					
						
							|  |  |  |     state: RouterStateSnapshot); | 
					
						
							| 
									
										
										
										
											2017-07-01 10:30:17 -07:00
										 |  |  |     toString(): string; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-09-17 01:14:04 +03:00
										 |  |  | /** @deprecated */ | 
					
						
							|  |  |  | export declare type InitialNavigation = true | false | 'enabled' | 'disabled' | 'legacy_enabled' | 'legacy_disabled'; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
											  
											
												feat(router): deprecate loadChildren:string (#30073)
The proposed ES dynamic import() is now supported by the Angular CLI and the
larger toolchain. This renders the `loadChildren: string` API largely
redundant, as import() is far more natural, is less error-prone, and is
standards compliant. This commit deprecates the `string` form of
`loadChildren` in favor of dynamic import().
DEPRECATION:
When defining lazy-loaded route, Angular previously offered two options for
configuring the module to be loaded, both via the `loadChildren` parameter
of the route. Most Angular developers are familiar withthe `string` form of
this API. For example, the following route definition configures Angular to
load a `LazyModule` NgModule from `lazy-route/lazy.module.ts`:
```
[{
  path: 'lazy',
  loadChildren: 'lazy-route/lazy.module#LazyModule',
}]
```
This "magic string" configuration was previously necessary as there was
no dynamic module loading standard on the web. This has changed with the
pending standardization of dynamic `import()` expressions, which are now
supported in the Angular CLI and in web tooling in general. `import()`
offers a more natural and robust solution to dynamic module loading. The
above example can be rewritten to use dynamic `import()`:
```
[{
  path: 'lazy',
  loadChildren: () => import('./lazy-route/lazy.module').then(mod => mod.LazyModule),
}]
```
This form of lazy loading offers significant advantages in terms of:
* type checking via TypeScript
* simplicity of generated code
* future potential to run natively in supporting browsers
  (see: [caniuse: dynamic import()](https://caniuse.com/#feat=es6-module-dynamic-import))
As a result, Angular is deprecating the `loadChildren: string` syntax in
favor of ES dynamic `import()`. An automatic migration will run during
`ng upgrade` to convert your existing Angular code to the new syntax.
PR Close #30073
											
										 
											2019-04-23 14:30:09 -07:00
										 |  |  | export declare type LoadChildren = LoadChildrenCallback | DeprecatedLoadChildren; | 
					
						
							| 
									
										
										
										
											2016-08-15 21:11:09 -07:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-04-11 14:23:17 +01:00
										 |  |  | export declare type LoadChildrenCallback = () => Type<any> | NgModuleFactory<any> | Observable<Type<any>> | Promise<NgModuleFactory<any> | Type<any> | any>; | 
					
						
							| 
									
										
										
										
											2016-08-15 21:11:09 -07:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-11-29 10:07:24 -08:00
										 |  |  | export declare type Navigation = { | 
					
						
							|  |  |  |     id: number; | 
					
						
							|  |  |  |     initialUrl: string | UrlTree; | 
					
						
							|  |  |  |     extractedUrl: UrlTree; | 
					
						
							|  |  |  |     finalUrl?: UrlTree; | 
					
						
							|  |  |  |     trigger: 'imperative' | 'popstate' | 'hashchange'; | 
					
						
							|  |  |  |     extras: NavigationExtras; | 
					
						
							|  |  |  |     previousNavigation: Navigation | null; | 
					
						
							|  |  |  | }; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-07-25 11:13:15 -07:00
										 |  |  | export declare class NavigationCancel extends RouterEvent { | 
					
						
							| 
									
										
										
										
											2016-08-24 10:20:44 -07:00
										 |  |  |     reason: string; | 
					
						
							| 
									
										
										
										
											2016-09-12 10:02:48 -07:00
										 |  |  |     constructor( | 
					
						
							| 
									
										
										
										
											2018-06-25 11:11:22 +02:00
										 |  |  |     id: number, | 
					
						
							|  |  |  |     url: string, | 
					
						
							|  |  |  |     reason: string); | 
					
						
							| 
									
										
										
										
											2016-06-22 14:56:10 -07:00
										 |  |  |     toString(): string; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-07-25 11:13:15 -07:00
										 |  |  | export declare class NavigationEnd extends RouterEvent { | 
					
						
							| 
									
										
										
										
											2016-06-22 14:56:10 -07:00
										 |  |  |     urlAfterRedirects: string; | 
					
						
							| 
									
										
										
										
											2016-09-12 10:02:48 -07:00
										 |  |  |     constructor( | 
					
						
							| 
									
										
										
										
											2018-06-25 11:11:22 +02:00
										 |  |  |     id: number, | 
					
						
							|  |  |  |     url: string, | 
					
						
							|  |  |  |     urlAfterRedirects: string); | 
					
						
							| 
									
										
										
										
											2016-06-22 14:56:10 -07:00
										 |  |  |     toString(): string; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-07-25 11:13:15 -07:00
										 |  |  | export declare class NavigationError extends RouterEvent { | 
					
						
							| 
									
										
										
										
											2016-06-23 18:19:32 -07:00
										 |  |  |     error: any; | 
					
						
							| 
									
										
										
										
											2016-09-12 10:02:48 -07:00
										 |  |  |     constructor( | 
					
						
							| 
									
										
										
										
											2018-06-25 11:11:22 +02:00
										 |  |  |     id: number, | 
					
						
							|  |  |  |     url: string, | 
					
						
							|  |  |  |     error: any); | 
					
						
							| 
									
										
										
										
											2016-06-22 14:56:10 -07:00
										 |  |  |     toString(): string; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-02-26 09:09:35 -08:00
										 |  |  | export declare interface NavigationExtras { | 
					
						
							| 
									
										
										
										
											2016-07-18 16:42:33 -07:00
										 |  |  |     fragment?: string; | 
					
						
							| 
									
										
										
										
											2016-07-20 17:51:21 -07:00
										 |  |  |     preserveFragment?: boolean; | 
					
						
							| 
									
										
										
										
											2017-01-25 17:33:13 +08:00
										 |  |  |     /** @deprecated */ preserveQueryParams?: boolean; | 
					
						
							| 
									
										
										
										
											2017-04-14 14:40:56 -07:00
										 |  |  |     queryParams?: Params | null; | 
					
						
							|  |  |  |     queryParamsHandling?: QueryParamsHandling | null; | 
					
						
							|  |  |  |     relativeTo?: ActivatedRoute | null; | 
					
						
							| 
									
										
										
										
											2016-08-12 14:30:51 -07:00
										 |  |  |     replaceUrl?: boolean; | 
					
						
							| 
									
										
										
										
											2016-08-04 13:46:09 -05:00
										 |  |  |     skipLocationChange?: boolean; | 
					
						
							| 
									
										
										
										
											2018-11-29 10:07:24 -08:00
										 |  |  |     state?: { | 
					
						
							|  |  |  |         [k: string]: any; | 
					
						
							|  |  |  |     }; | 
					
						
							| 
									
										
										
										
											2016-07-18 16:42:33 -07:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-07-25 11:13:15 -07:00
										 |  |  | export declare class NavigationStart extends RouterEvent { | 
					
						
							| 
									
										
										
										
											2018-01-24 12:19:59 -05:00
										 |  |  |     navigationTrigger?: 'imperative' | 'popstate' | 'hashchange'; | 
					
						
							|  |  |  |     restoredState?: { | 
					
						
							| 
									
										
										
										
											2018-11-29 10:07:24 -08:00
										 |  |  |         [k: string]: any; | 
					
						
							| 
									
										
										
										
											2018-01-24 12:19:59 -05:00
										 |  |  |         navigationId: number; | 
					
						
							|  |  |  |     } | null; | 
					
						
							|  |  |  |     constructor( | 
					
						
							| 
									
										
										
										
											2018-06-25 11:11:22 +02:00
										 |  |  |     id: number, | 
					
						
							|  |  |  |     url: string, | 
					
						
							|  |  |  |     navigationTrigger?: 'imperative' | 'popstate' | 'hashchange', | 
					
						
							|  |  |  |     restoredState?: { | 
					
						
							| 
									
										
										
										
											2018-11-29 10:07:24 -08:00
										 |  |  |         [k: string]: any; | 
					
						
							| 
									
										
										
										
											2018-01-24 12:19:59 -05:00
										 |  |  |         navigationId: number; | 
					
						
							|  |  |  |     } | null); | 
					
						
							| 
									
										
										
										
											2016-06-22 14:56:10 -07:00
										 |  |  |     toString(): string; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-09-16 17:31:24 -07:00
										 |  |  | export declare class NoPreloading implements PreloadingStrategy { | 
					
						
							|  |  |  |     preload(route: Route, fn: () => Observable<any>): Observable<any>; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-05-17 17:47:34 -07:00
										 |  |  | export declare class OutletContext { | 
					
						
							|  |  |  |     attachRef: ComponentRef<any> | null; | 
					
						
							|  |  |  |     children: ChildrenOutletContexts; | 
					
						
							|  |  |  |     outlet: RouterOutlet | null; | 
					
						
							|  |  |  |     resolver: ComponentFactoryResolver | null; | 
					
						
							|  |  |  |     route: ActivatedRoute | null; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-02-26 09:09:35 -08:00
										 |  |  | export declare interface ParamMap { | 
					
						
							| 
									
										
										
										
											2017-03-20 09:19:25 -07:00
										 |  |  |     readonly keys: string[]; | 
					
						
							| 
									
										
										
										
											2017-03-17 10:09:42 -07:00
										 |  |  |     get(name: string): string | null; | 
					
						
							|  |  |  |     getAll(name: string): string[]; | 
					
						
							|  |  |  |     has(name: string): boolean; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-06-22 14:56:10 -07:00
										 |  |  | export declare type Params = { | 
					
						
							|  |  |  |     [key: string]: any; | 
					
						
							|  |  |  | }; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-09-16 17:31:24 -07:00
										 |  |  | export declare class PreloadAllModules implements PreloadingStrategy { | 
					
						
							|  |  |  |     preload(route: Route, fn: () => Observable<any>): Observable<any>; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | export declare abstract class PreloadingStrategy { | 
					
						
							|  |  |  |     abstract preload(route: Route, fn: () => Observable<any>): Observable<any>; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-02-07 19:27:01 -08:00
										 |  |  | export declare const PRIMARY_OUTLET = "primary"; | 
					
						
							| 
									
										
										
										
											2016-06-22 14:56:10 -07:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-07-06 16:19:52 -07:00
										 |  |  | export declare function provideRoutes(routes: Routes): any; | 
					
						
							| 
									
										
										
										
											2016-07-06 11:02:52 -07:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-07-03 16:15:15 -07:00
										 |  |  | export declare type QueryParamsHandling = 'merge' | 'preserve' | ''; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-02-26 09:09:35 -08:00
										 |  |  | export declare interface Resolve<T> { | 
					
						
							| 
									
										
										
										
											2016-12-08 20:24:38 +01:00
										 |  |  |     resolve(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): Observable<T> | Promise<T> | T; | 
					
						
							| 
									
										
										
										
											2016-06-27 14:00:07 -07:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | export declare type ResolveData = { | 
					
						
							|  |  |  |     [name: string]: any; | 
					
						
							|  |  |  | }; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-07-25 11:13:15 -07:00
										 |  |  | export declare class ResolveEnd extends RouterEvent { | 
					
						
							| 
									
										
										
										
											2017-07-01 10:30:17 -07:00
										 |  |  |     state: RouterStateSnapshot; | 
					
						
							|  |  |  |     urlAfterRedirects: string; | 
					
						
							|  |  |  |     constructor( | 
					
						
							| 
									
										
										
										
											2018-06-25 11:11:22 +02:00
										 |  |  |     id: number, | 
					
						
							|  |  |  |     url: string, | 
					
						
							|  |  |  |     urlAfterRedirects: string, | 
					
						
							|  |  |  |     state: RouterStateSnapshot); | 
					
						
							| 
									
										
										
										
											2017-07-01 10:30:17 -07:00
										 |  |  |     toString(): string; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-07-25 11:13:15 -07:00
										 |  |  | export declare class ResolveStart extends RouterEvent { | 
					
						
							| 
									
										
										
										
											2017-07-01 10:30:17 -07:00
										 |  |  |     state: RouterStateSnapshot; | 
					
						
							|  |  |  |     urlAfterRedirects: string; | 
					
						
							|  |  |  |     constructor( | 
					
						
							| 
									
										
										
										
											2018-06-25 11:11:22 +02:00
										 |  |  |     id: number, | 
					
						
							|  |  |  |     url: string, | 
					
						
							|  |  |  |     urlAfterRedirects: string, | 
					
						
							|  |  |  |     state: RouterStateSnapshot); | 
					
						
							| 
									
										
										
										
											2017-07-01 10:30:17 -07:00
										 |  |  |     toString(): string; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-02-26 09:09:35 -08:00
										 |  |  | export declare interface Route { | 
					
						
							| 
									
										
										
										
											2016-07-28 14:36:05 -07:00
										 |  |  |     canActivate?: any[]; | 
					
						
							|  |  |  |     canActivateChild?: any[]; | 
					
						
							|  |  |  |     canDeactivate?: any[]; | 
					
						
							|  |  |  |     canLoad?: any[]; | 
					
						
							| 
									
										
										
										
											2016-12-06 21:41:01 +03:00
										 |  |  |     children?: Routes; | 
					
						
							| 
									
										
										
										
											2016-08-16 13:40:28 -07:00
										 |  |  |     component?: Type<any>; | 
					
						
							| 
									
										
										
										
											2016-07-28 14:36:05 -07:00
										 |  |  |     data?: Data; | 
					
						
							| 
									
										
										
										
											2016-08-15 21:11:09 -07:00
										 |  |  |     loadChildren?: LoadChildren; | 
					
						
							| 
									
										
										
										
											2016-11-09 15:25:47 -08:00
										 |  |  |     matcher?: UrlMatcher; | 
					
						
							| 
									
										
										
										
											2016-07-28 14:36:05 -07:00
										 |  |  |     outlet?: string; | 
					
						
							| 
									
										
										
										
											2016-06-23 18:19:32 -07:00
										 |  |  |     path?: string; | 
					
						
							| 
									
										
										
										
											2016-07-28 14:36:05 -07:00
										 |  |  |     pathMatch?: string; | 
					
						
							|  |  |  |     redirectTo?: string; | 
					
						
							|  |  |  |     resolve?: ResolveData; | 
					
						
							| 
									
										
										
										
											2017-02-23 22:12:30 -08:00
										 |  |  |     runGuardsAndResolvers?: RunGuardsAndResolvers; | 
					
						
							| 
									
										
										
										
											2016-07-28 14:36:05 -07:00
										 |  |  | } | 
					
						
							| 
									
										
										
										
											2016-06-22 14:56:10 -07:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-09-05 11:54:33 -07:00
										 |  |  | export declare class RouteConfigLoadEnd { | 
					
						
							|  |  |  |     route: Route; | 
					
						
							|  |  |  |     constructor( | 
					
						
							| 
									
										
										
										
											2018-06-25 11:11:22 +02:00
										 |  |  |     route: Route); | 
					
						
							| 
									
										
										
										
											2017-02-02 00:13:57 +03:00
										 |  |  |     toString(): string; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-09-05 11:54:33 -07:00
										 |  |  | export declare class RouteConfigLoadStart { | 
					
						
							| 
									
										
										
										
											2017-07-25 11:13:15 -07:00
										 |  |  |     route: Route; | 
					
						
							|  |  |  |     constructor( | 
					
						
							| 
									
										
										
										
											2018-06-25 11:11:22 +02:00
										 |  |  |     route: Route); | 
					
						
							| 
									
										
										
										
											2017-09-05 11:54:33 -07:00
										 |  |  |     toString(): string; | 
					
						
							| 
									
										
										
										
											2017-07-25 11:13:15 -07:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-06-22 14:56:10 -07:00
										 |  |  | export declare class Router { | 
					
						
							| 
									
										
										
										
											2016-08-10 21:41:44 -07:00
										 |  |  |     config: Routes; | 
					
						
							| 
									
										
										
										
											2016-08-25 07:56:30 -07:00
										 |  |  |     errorHandler: ErrorHandler; | 
					
						
							| 
									
										
										
										
											2017-02-07 19:27:01 -08:00
										 |  |  |     readonly events: Observable<Event>; | 
					
						
							| 
									
										
										
										
											2018-04-10 05:01:07 -05:00
										 |  |  |     malformedUriErrorHandler: (error: URIError, urlSerializer: UrlSerializer, url: string) => UrlTree; | 
					
						
							| 
									
										
										
										
											2016-09-12 10:02:48 -07:00
										 |  |  |     navigated: boolean; | 
					
						
							| 
									
										
										
										
											2017-10-19 18:32:50 -04:00
										 |  |  |     onSameUrlNavigation: 'reload' | 'ignore'; | 
					
						
							| 
									
										
										
										
											2017-11-28 16:57:10 -08:00
										 |  |  |     paramsInheritanceStrategy: 'emptyOnly' | 'always'; | 
					
						
							| 
									
										
										
										
											2018-02-23 10:24:51 +01:00
										 |  |  |     relativeLinkResolution: 'legacy' | 'corrected'; | 
					
						
							| 
									
										
										
										
											2016-11-29 23:21:41 -08:00
										 |  |  |     routeReuseStrategy: RouteReuseStrategy; | 
					
						
							| 
									
										
										
										
											2017-02-07 19:27:01 -08:00
										 |  |  |     readonly routerState: RouterState; | 
					
						
							| 
									
										
										
										
											2019-11-09 20:36:22 +02:00
										 |  |  |     get url(): string; | 
					
						
							| 
									
										
										
										
											2016-10-20 10:44:44 -07:00
										 |  |  |     urlHandlingStrategy: UrlHandlingStrategy; | 
					
						
							| 
									
										
										
										
											2018-07-10 09:44:15 -07:00
										 |  |  |     urlUpdateStrategy: 'deferred' | 'eager'; | 
					
						
							| 
									
										
										
										
											2017-05-17 17:47:34 -07:00
										 |  |  |     constructor(rootComponentType: Type<any> | null, urlSerializer: UrlSerializer, rootContexts: ChildrenOutletContexts, location: Location, injector: Injector, loader: NgModuleFactoryLoader, compiler: Compiler, config: Routes); | 
					
						
							| 
									
										
										
										
											2017-06-12 10:59:29 -07:00
										 |  |  |     createUrlTree(commands: any[], navigationExtras?: NavigationExtras): UrlTree; | 
					
						
							| 
									
										
										
										
											2016-07-14 17:29:01 -07:00
										 |  |  |     dispose(): void; | 
					
						
							| 
									
										
										
										
											2018-11-29 10:07:24 -08:00
										 |  |  |     getCurrentNavigation(): Navigation | null; | 
					
						
							| 
									
										
										
										
											2016-07-14 17:29:01 -07:00
										 |  |  |     initialNavigation(): void; | 
					
						
							| 
									
										
										
										
											2016-07-28 17:59:05 -07:00
										 |  |  |     isActive(url: string | UrlTree, exact: boolean): boolean; | 
					
						
							| 
									
										
										
										
											2016-06-22 14:56:10 -07:00
										 |  |  |     navigate(commands: any[], extras?: NavigationExtras): Promise<boolean>; | 
					
						
							| 
									
										
										
										
											2016-08-04 13:46:09 -05:00
										 |  |  |     navigateByUrl(url: string | UrlTree, extras?: NavigationExtras): Promise<boolean>; | 
					
						
							| 
									
										
										
										
											2016-08-02 07:54:14 -07:00
										 |  |  |     ngOnDestroy(): void; | 
					
						
							| 
									
										
										
										
											2016-06-22 14:56:10 -07:00
										 |  |  |     parseUrl(url: string): UrlTree; | 
					
						
							| 
									
										
										
										
											2016-07-06 16:19:52 -07:00
										 |  |  |     resetConfig(config: Routes): void; | 
					
						
							| 
									
										
										
										
											2016-06-23 18:19:32 -07:00
										 |  |  |     serializeUrl(url: UrlTree): string; | 
					
						
							| 
									
										
										
										
											2016-08-25 08:48:31 -07:00
										 |  |  |     setUpLocationChangeListener(): void; | 
					
						
							| 
									
										
										
										
											2016-06-22 14:56:10 -07:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-01-03 16:54:46 -08:00
										 |  |  | export declare const ROUTER_CONFIGURATION: InjectionToken<ExtraOptions>; | 
					
						
							| 
									
										
										
										
											2016-11-09 13:33:33 -08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-01-03 16:54:46 -08:00
										 |  |  | export declare const ROUTER_INITIALIZER: InjectionToken<(compRef: ComponentRef<any>) => void>; | 
					
						
							| 
									
										
										
										
											2016-11-09 13:33:33 -08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-11-29 23:21:41 -08:00
										 |  |  | export declare abstract class RouteReuseStrategy { | 
					
						
							| 
									
										
										
										
											2017-04-17 11:13:13 -07:00
										 |  |  |     abstract retrieve(route: ActivatedRouteSnapshot): DetachedRouteHandle | null; | 
					
						
							| 
									
										
										
										
											2016-11-29 23:21:41 -08:00
										 |  |  |     abstract shouldAttach(route: ActivatedRouteSnapshot): boolean; | 
					
						
							|  |  |  |     abstract shouldDetach(route: ActivatedRouteSnapshot): boolean; | 
					
						
							|  |  |  |     abstract shouldReuseRoute(future: ActivatedRouteSnapshot, curr: ActivatedRouteSnapshot): boolean; | 
					
						
							| 
									
										
										
										
											2017-04-17 11:13:13 -07:00
										 |  |  |     abstract store(route: ActivatedRouteSnapshot, handle: DetachedRouteHandle | null): void; | 
					
						
							| 
									
										
										
										
											2016-11-29 23:21:41 -08:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-09-05 11:54:33 -07:00
										 |  |  | export declare class RouterEvent { | 
					
						
							|  |  |  |     id: number; | 
					
						
							|  |  |  |     url: string; | 
					
						
							|  |  |  |     constructor( | 
					
						
							| 
									
										
										
										
											2018-06-25 11:11:22 +02:00
										 |  |  |     id: number, | 
					
						
							|  |  |  |     url: string); | 
					
						
							| 
									
										
										
										
											2017-09-05 11:54:33 -07:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-06-29 15:11:36 -07:00
										 |  |  | export declare class RouterLink { | 
					
						
							|  |  |  |     fragment: string; | 
					
						
							| 
									
										
										
										
											2016-07-20 17:51:21 -07:00
										 |  |  |     preserveFragment: boolean; | 
					
						
							| 
									
										
										
										
											2019-11-09 20:36:22 +02:00
										 |  |  |     /** @deprecated */ set preserveQueryParams(value: boolean); | 
					
						
							| 
									
										
										
										
											2016-06-29 15:11:36 -07:00
										 |  |  |     queryParams: { | 
					
						
							|  |  |  |         [k: string]: any; | 
					
						
							|  |  |  |     }; | 
					
						
							| 
									
										
										
										
											2017-01-25 17:33:13 +08:00
										 |  |  |     queryParamsHandling: QueryParamsHandling; | 
					
						
							| 
									
										
										
										
											2016-11-15 05:30:13 +03:00
										 |  |  |     replaceUrl: boolean; | 
					
						
							| 
									
										
										
										
											2019-11-09 20:36:22 +02:00
										 |  |  |     set routerLink(commands: any[] | string); | 
					
						
							| 
									
										
										
										
											2016-11-15 05:30:13 +03:00
										 |  |  |     skipLocationChange: boolean; | 
					
						
							| 
									
										
										
										
											2018-11-29 10:07:24 -08:00
										 |  |  |     state?: { | 
					
						
							|  |  |  |         [k: string]: any; | 
					
						
							|  |  |  |     }; | 
					
						
							| 
									
										
										
										
											2019-11-09 20:36:22 +02:00
										 |  |  |     get urlTree(): UrlTree; | 
					
						
							| 
									
										
										
										
											2017-06-20 13:24:39 +02:00
										 |  |  |     constructor(router: Router, route: ActivatedRoute, tabIndex: string, renderer: Renderer2, el: ElementRef); | 
					
						
							| 
									
										
										
										
											2016-11-02 11:30:00 -07:00
										 |  |  |     onClick(): boolean; | 
					
						
							| 
									
										
										
										
											2016-06-29 15:11:36 -07:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | export declare class RouterLinkActive implements OnChanges, OnDestroy, AfterContentInit { | 
					
						
							| 
									
										
										
										
											2017-02-07 19:27:01 -08:00
										 |  |  |     readonly isActive: boolean; | 
					
						
							| 
									
										
										
										
											2016-06-30 14:47:55 -07:00
										 |  |  |     links: QueryList<RouterLink>; | 
					
						
							|  |  |  |     linksWithHrefs: QueryList<RouterLinkWithHref>; | 
					
						
							| 
									
										
										
										
											2019-11-09 20:36:22 +02:00
										 |  |  |     set routerLinkActive(data: string[] | string); | 
					
						
							| 
									
										
										
										
											2016-08-15 00:39:59 -07:00
										 |  |  |     routerLinkActiveOptions: { | 
					
						
							|  |  |  |         exact: boolean; | 
					
						
							|  |  |  |     }; | 
					
						
							| 
									
										
										
										
											2019-02-06 14:24:25 +01:00
										 |  |  |     constructor(router: Router, element: ElementRef, renderer: Renderer2, link?: RouterLink | undefined, linkWithHref?: RouterLinkWithHref | undefined); | 
					
						
							| 
									
										
										
										
											2016-06-29 15:11:36 -07:00
										 |  |  |     ngAfterContentInit(): void; | 
					
						
							| 
									
										
										
										
											2016-12-07 03:22:38 +03:00
										 |  |  |     ngOnChanges(changes: SimpleChanges): void; | 
					
						
							| 
									
										
										
										
											2016-12-06 17:19:50 +03:00
										 |  |  |     ngOnDestroy(): void; | 
					
						
							| 
									
										
										
										
											2016-06-29 15:11:36 -07:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-06-30 18:24:43 -07:00
										 |  |  | export declare class RouterLinkWithHref implements OnChanges, OnDestroy { | 
					
						
							| 
									
										
										
										
											2016-06-29 15:11:36 -07:00
										 |  |  |     fragment: string; | 
					
						
							|  |  |  |     href: string; | 
					
						
							| 
									
										
										
										
											2016-07-20 17:51:21 -07:00
										 |  |  |     preserveFragment: boolean; | 
					
						
							| 
									
										
										
										
											2019-11-09 20:36:22 +02:00
										 |  |  |     set preserveQueryParams(value: boolean); | 
					
						
							| 
									
										
										
										
											2016-06-29 15:11:36 -07:00
										 |  |  |     queryParams: { | 
					
						
							|  |  |  |         [k: string]: any; | 
					
						
							|  |  |  |     }; | 
					
						
							| 
									
										
										
										
											2017-01-25 17:33:13 +08:00
										 |  |  |     queryParamsHandling: QueryParamsHandling; | 
					
						
							| 
									
										
										
										
											2016-11-15 05:30:13 +03:00
										 |  |  |     replaceUrl: boolean; | 
					
						
							| 
									
										
										
										
											2019-11-09 20:36:22 +02:00
										 |  |  |     set routerLink(commands: any[] | string); | 
					
						
							| 
									
										
										
										
											2016-11-15 05:30:13 +03:00
										 |  |  |     skipLocationChange: boolean; | 
					
						
							| 
									
										
										
										
											2018-11-29 10:07:24 -08:00
										 |  |  |     state?: { | 
					
						
							|  |  |  |         [k: string]: any; | 
					
						
							|  |  |  |     }; | 
					
						
							| 
									
										
										
										
											2016-06-29 15:11:36 -07:00
										 |  |  |     target: string; | 
					
						
							| 
									
										
										
										
											2019-11-09 20:36:22 +02:00
										 |  |  |     get urlTree(): UrlTree; | 
					
						
							| 
									
										
										
										
											2016-07-27 09:54:19 -07:00
										 |  |  |     constructor(router: Router, route: ActivatedRoute, locationStrategy: LocationStrategy); | 
					
						
							| 
									
										
										
										
											2016-06-29 15:11:36 -07:00
										 |  |  |     ngOnChanges(changes: {}): any; | 
					
						
							| 
									
										
										
										
											2016-06-30 18:24:43 -07:00
										 |  |  |     ngOnDestroy(): any; | 
					
						
							| 
									
										
										
										
											2017-05-25 17:52:55 -07:00
										 |  |  |     onClick(button: number, ctrlKey: boolean, metaKey: boolean, shiftKey: boolean): boolean; | 
					
						
							| 
									
										
										
										
											2016-06-29 15:11:36 -07:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-07-07 14:13:32 -07:00
										 |  |  | export declare class RouterModule { | 
					
						
							| 
									
										
										
										
											2017-03-14 14:32:26 -07:00
										 |  |  |     constructor(guard: any, router: Router); | 
					
						
							| 
									
										
										
										
											2018-07-09 11:36:30 -07:00
										 |  |  |     static forChild(routes: Routes): ModuleWithProviders<RouterModule>; | 
					
						
							|  |  |  |     static forRoot(routes: Routes, config?: ExtraOptions): ModuleWithProviders<RouterModule>; | 
					
						
							| 
									
										
										
										
											2016-07-18 03:50:31 -07:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-05-17 17:47:34 -07:00
										 |  |  | export declare class RouterOutlet implements OnDestroy, OnInit { | 
					
						
							| 
									
										
										
										
											2016-07-08 14:47:19 -07:00
										 |  |  |     activateEvents: EventEmitter<any>; | 
					
						
							| 
									
										
										
										
											2019-11-09 20:36:22 +02:00
										 |  |  |     get activatedRoute(): ActivatedRoute; | 
					
						
							|  |  |  |     get activatedRouteData(): Data; | 
					
						
							|  |  |  |     get component(): Object; | 
					
						
							| 
									
										
										
										
											2016-07-08 14:47:19 -07:00
										 |  |  |     deactivateEvents: EventEmitter<any>; | 
					
						
							| 
									
										
										
										
											2019-11-09 20:36:22 +02:00
										 |  |  |     get isActivated(): boolean; | 
					
						
							| 
									
										
										
										
											2017-05-17 17:47:34 -07:00
										 |  |  |     constructor(parentContexts: ChildrenOutletContexts, location: ViewContainerRef, resolver: ComponentFactoryResolver, name: string, changeDetector: ChangeDetectorRef); | 
					
						
							|  |  |  |     activateWith(activatedRoute: ActivatedRoute, resolver: ComponentFactoryResolver | null): void; | 
					
						
							| 
									
										
										
										
											2016-11-29 23:21:41 -08:00
										 |  |  |     attach(ref: ComponentRef<any>, activatedRoute: ActivatedRoute): void; | 
					
						
							| 
									
										
										
										
											2016-06-29 15:11:36 -07:00
										 |  |  |     deactivate(): void; | 
					
						
							| 
									
										
										
										
											2016-11-29 23:21:41 -08:00
										 |  |  |     detach(): ComponentRef<any>; | 
					
						
							| 
									
										
										
										
											2016-08-01 16:56:38 -07:00
										 |  |  |     ngOnDestroy(): void; | 
					
						
							| 
									
										
										
										
											2017-05-17 17:47:34 -07:00
										 |  |  |     ngOnInit(): void; | 
					
						
							| 
									
										
										
										
											2016-06-22 14:56:10 -07:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-04-05 02:00:40 +03:00
										 |  |  | export declare class RouterPreloader implements OnDestroy { | 
					
						
							| 
									
										
										
										
											2016-11-09 13:33:33 -08:00
										 |  |  |     constructor(router: Router, moduleLoader: NgModuleFactoryLoader, compiler: Compiler, injector: Injector, preloadingStrategy: PreloadingStrategy); | 
					
						
							|  |  |  |     ngOnDestroy(): void; | 
					
						
							|  |  |  |     preload(): Observable<any>; | 
					
						
							|  |  |  |     setUpPreloading(): void; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-02-26 09:09:35 -08:00
										 |  |  | export declare class RouterState extends ɵangular_packages_router_router_m<ActivatedRoute> { | 
					
						
							| 
									
										
										
										
											2016-06-22 14:56:10 -07:00
										 |  |  |     snapshot: RouterStateSnapshot; | 
					
						
							|  |  |  |     toString(): string; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-02-26 09:09:35 -08:00
										 |  |  | export declare class RouterStateSnapshot extends ɵangular_packages_router_router_m<ActivatedRouteSnapshot> { | 
					
						
							| 
									
										
										
										
											2016-06-23 18:19:32 -07:00
										 |  |  |     url: string; | 
					
						
							| 
									
										
										
										
											2016-06-22 14:56:10 -07:00
										 |  |  |     toString(): string; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-07-06 16:19:52 -07:00
										 |  |  | export declare type Routes = Route[]; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-02-15 13:30:40 -08:00
										 |  |  | export declare const ROUTES: InjectionToken<Route[][]>; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-07-25 11:13:15 -07:00
										 |  |  | export declare class RoutesRecognized extends RouterEvent { | 
					
						
							| 
									
										
										
										
											2016-06-23 18:19:32 -07:00
										 |  |  |     state: RouterStateSnapshot; | 
					
						
							| 
									
										
										
										
											2016-06-22 14:56:10 -07:00
										 |  |  |     urlAfterRedirects: string; | 
					
						
							| 
									
										
										
										
											2016-09-12 10:02:48 -07:00
										 |  |  |     constructor( | 
					
						
							| 
									
										
										
										
											2018-06-25 11:11:22 +02:00
										 |  |  |     id: number, | 
					
						
							|  |  |  |     url: string, | 
					
						
							|  |  |  |     urlAfterRedirects: string, | 
					
						
							|  |  |  |     state: RouterStateSnapshot); | 
					
						
							| 
									
										
										
										
											2016-06-22 14:56:10 -07:00
										 |  |  |     toString(): string; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-12-14 14:02:50 -05:00
										 |  |  | export declare type RunGuardsAndResolvers = 'pathParamsChange' | 'pathParamsOrQueryParamsChange' | 'paramsChange' | 'paramsOrQueryParamsChange' | 'always' | ((from: ActivatedRouteSnapshot, to: ActivatedRouteSnapshot) => boolean); | 
					
						
							| 
									
										
										
										
											2017-02-23 22:12:30 -08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-05-17 07:33:50 -04:00
										 |  |  | export declare class Scroll { | 
					
						
							|  |  |  |     readonly anchor: string | null; | 
					
						
							|  |  |  |     readonly position: [number, number] | null; | 
					
						
							|  |  |  |     readonly routerEvent: NavigationEnd; | 
					
						
							|  |  |  |     constructor( | 
					
						
							| 
									
										
										
										
											2018-06-25 11:11:22 +02:00
										 |  |  |     routerEvent: NavigationEnd, | 
					
						
							|  |  |  |     position: [number, number] | null, | 
					
						
							|  |  |  |     anchor: string | null); | 
					
						
							| 
									
										
										
										
											2018-05-17 07:33:50 -04:00
										 |  |  |     toString(): string; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-10-20 10:44:44 -07:00
										 |  |  | export declare abstract class UrlHandlingStrategy { | 
					
						
							|  |  |  |     abstract extract(url: UrlTree): UrlTree; | 
					
						
							|  |  |  |     abstract merge(newUrlPart: UrlTree, rawUrl: UrlTree): UrlTree; | 
					
						
							|  |  |  |     abstract shouldProcessUrl(url: UrlTree): boolean; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-02-13 13:34:02 -08:00
										 |  |  | export declare type UrlMatcher = (segments: UrlSegment[], group: UrlSegmentGroup, route: Route) => UrlMatchResult | null; | 
					
						
							| 
									
										
										
										
											2017-06-24 00:08:18 -07:00
										 |  |  | 
 | 
					
						
							|  |  |  | export declare type UrlMatchResult = { | 
					
						
							|  |  |  |     consumed: UrlSegment[]; | 
					
						
							|  |  |  |     posParams?: { | 
					
						
							|  |  |  |         [name: string]: UrlSegment; | 
					
						
							|  |  |  |     }; | 
					
						
							|  |  |  | }; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-07-25 12:15:07 -07:00
										 |  |  | export declare class UrlSegment { | 
					
						
							| 
									
										
										
										
											2019-11-09 20:36:22 +02:00
										 |  |  |     get parameterMap(): ParamMap; | 
					
						
							| 
									
										
										
										
											2016-06-22 14:56:10 -07:00
										 |  |  |     parameters: { | 
					
						
							| 
									
										
										
										
											2016-12-09 10:44:46 -08:00
										 |  |  |         [name: string]: string; | 
					
						
							| 
									
										
										
										
											2016-06-22 14:56:10 -07:00
										 |  |  |     }; | 
					
						
							| 
									
										
										
										
											2016-06-23 18:19:32 -07:00
										 |  |  |     path: string; | 
					
						
							| 
									
										
										
										
											2016-09-12 10:02:48 -07:00
										 |  |  |     constructor( | 
					
						
							| 
									
										
										
										
											2018-06-25 11:11:22 +02:00
										 |  |  |     path: string, | 
					
						
							|  |  |  |     parameters: { | 
					
						
							| 
									
										
										
										
											2016-12-09 10:44:46 -08:00
										 |  |  |         [name: string]: string; | 
					
						
							| 
									
										
										
										
											2016-06-22 14:56:10 -07:00
										 |  |  |     }); | 
					
						
							|  |  |  |     toString(): string; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-10-20 10:44:44 -07:00
										 |  |  | export declare class UrlSegmentGroup { | 
					
						
							|  |  |  |     children: { | 
					
						
							|  |  |  |         [key: string]: UrlSegmentGroup; | 
					
						
							|  |  |  |     }; | 
					
						
							| 
									
										
										
										
											2019-11-09 20:36:22 +02:00
										 |  |  |     get numberOfChildren(): number; | 
					
						
							| 
									
										
										
										
											2017-04-17 11:13:13 -07:00
										 |  |  |     parent: UrlSegmentGroup | null; | 
					
						
							| 
									
										
										
										
											2016-10-20 10:44:44 -07:00
										 |  |  |     segments: UrlSegment[]; | 
					
						
							|  |  |  |     constructor( | 
					
						
							| 
									
										
										
										
											2018-06-25 11:11:22 +02:00
										 |  |  |     segments: UrlSegment[], | 
					
						
							|  |  |  |     children: { | 
					
						
							| 
									
										
										
										
											2016-10-20 10:44:44 -07:00
										 |  |  |         [key: string]: UrlSegmentGroup; | 
					
						
							|  |  |  |     }); | 
					
						
							|  |  |  |     hasChildren(): boolean; | 
					
						
							|  |  |  |     toString(): string; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-06-22 14:56:10 -07:00
										 |  |  | export declare abstract class UrlSerializer { | 
					
						
							|  |  |  |     abstract parse(url: string): UrlTree; | 
					
						
							|  |  |  |     abstract serialize(tree: UrlTree): string; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | export declare class UrlTree { | 
					
						
							| 
									
										
										
										
											2017-04-17 11:13:13 -07:00
										 |  |  |     fragment: string | null; | 
					
						
							| 
									
										
										
										
											2019-11-09 20:36:22 +02:00
										 |  |  |     get queryParamMap(): ParamMap; | 
					
						
							| 
									
										
										
										
											2017-10-24 14:54:08 +03:00
										 |  |  |     queryParams: Params; | 
					
						
							| 
									
										
										
										
											2016-07-25 12:15:07 -07:00
										 |  |  |     root: UrlSegmentGroup; | 
					
						
							| 
									
										
										
										
											2016-06-22 14:56:10 -07:00
										 |  |  |     toString(): string; | 
					
						
							|  |  |  | } | 
					
						
							| 
									
										
										
										
											2016-11-30 13:52:08 -08:00
										 |  |  | 
 | 
					
						
							|  |  |  | export declare const VERSION: Version; |