1 | import { ComponentRef } from '@angular/core';
|
2 | import { ActivatedRoute, NavigationExtras, Router } from '@angular/router';
|
3 | import { AnimationBuilder, NavDirection, RouterDirection } from '@ionic/core';
|
4 | export declare const insertView: (views: RouteView[], view: RouteView, direction: RouterDirection) => RouteView[];
|
5 | export declare const getUrl: (router: Router, activatedRoute: ActivatedRoute) => string;
|
6 | export declare const isTabSwitch: (enteringView: RouteView, leavingView: RouteView) => boolean;
|
7 | export declare const computeStackId: (prefixUrl: string[], url: string) => string;
|
8 | export declare const toSegments: (path: string) => string[];
|
9 | export declare const destroyView: (view: RouteView) => void;
|
10 | export interface StackEvent {
|
11 | enteringView: RouteView;
|
12 | direction: RouterDirection;
|
13 | animation: NavDirection | undefined;
|
14 | tabSwitch: boolean;
|
15 | }
|
16 | export interface RouteView {
|
17 | id: number;
|
18 | url: string;
|
19 | stackId: string | undefined;
|
20 | element: HTMLElement;
|
21 | ref: ComponentRef<any>;
|
22 | savedData?: any;
|
23 | savedExtras?: NavigationExtras;
|
24 | unlistenEvents: () => void;
|
25 | animationBuilder?: AnimationBuilder;
|
26 | }
|