interface ResultListener { execute(data: any): void; } interface Route { screenID: string; } interface PresentOption { isFullScreen?: boolean; isTransparency?: boolean; animated?: boolean; isTabBarPresented?: boolean; } export declare class Navigator { static dispatch: (screenID: string, action: string, component?: string, options?: any) => Promise; static get: (screenID: string) => Navigator | undefined; static current: () => Promise; static currentRoute: () => Promise; screenID: string; moduleName: string; resultListener?: ResultListener; constructor(screenID: string, moduleName: string); excute: (data: any) => void; setResult: (data: any) => void; push: (component: string, params?: any) => Promise; pop: () => void; popPages: (count: number) => void; popToRoot: () => void; present: (component: string, options?: {}, presentOption?: PresentOption) => Promise; /** * * @param animated 仅作用于iOS */ dismiss: (animated?: boolean) => Promise; switchTab(index: number): Promise; signalFirstRenderComplete(): void; } export {};