UNPKG

@equinor/mad-core

Version:

Core library for the Mobile App Delivery team

16 lines (15 loc) 765 B
import { Language } from "../store/types"; import { CoreStackParamListBase } from "../types"; type GetNavigationRouteForLoginScreenOptions = { appVersion: string; lastDisplayedReleaseNotesVersion: string | null; isDemoModeEnabled: boolean; isLanguageSelected: boolean; supportedLanguages: Language[]; skipOnboarding: boolean | undefined; }; /** * Returns the route Login Screen should navigate to. If it returns `null`, the app should navigate to the main route */ export declare const getNavigationRouteForLoginScreen: ({ appVersion, lastDisplayedReleaseNotesVersion, isDemoModeEnabled, isLanguageSelected, supportedLanguages, skipOnboarding, }: GetNavigationRouteForLoginScreenOptions) => keyof CoreStackParamListBase | null; export {};