import { NavigationModule, RouteConfig } from "../interfaces/NavigationModule"; import { NativeModule } from "../managers/NativeModuleHelper"; import { NativeModuleCallbackManager } from "../managers/NativeModuleCallbackManager"; import { NativeModuleResponse } from "../interfaces/NativeModuleResponse"; export default class NavigationModuleImpl extends NativeModule implements NavigationModule { constructor(nativeModuleCallbackManager: NativeModuleCallbackManager); /** * This pops current app controller and takes one step back in the app navigation stack. */ goBack(): Promise>; /** * This pushes a new route and navigates forward in the app navigation stack to a page based on action which is sent by server. * @param routeConfig */ navigate(routeConfig: RouteConfig): Promise>; }