viettel-ekyc-sdk
Version:
23 lines (22 loc) • 817 B
TypeScript
declare function setContainer(container: any): void;
declare function reset(routeName: string, params?: {}): void;
declare function navigate(routeName: string, params?: {}, key?: string): void;
declare function getCurrentRoute(): any;
declare function back(): any;
declare function pop(n: number): any;
declare function openDrawer(): any;
declare function getParam(param: string, defaultValue?: any): any;
declare function setParams(params?: {}): void;
declare const navigator: {
setContainer: typeof setContainer;
navigate: typeof navigate;
reset: typeof reset;
back: typeof back;
goBack: typeof back;
getCurrentRoute: typeof getCurrentRoute;
openDrawer: typeof openDrawer;
getParam: typeof getParam;
setParams: typeof setParams;
pop: typeof pop;
};
export default navigator;