fun MainAppScaffold(navigationItems: List<StyledNavigationItem<NavScreen>>, backStackConfiguration: SavedStateConfiguration, startDestination: NavScreen? = null, toolbar: @Composable () -> Unit = {}, topAppBarColor: @Composable () -> Color? = null, topAppBarContentColor: @Composable () -> Color? = null, scaffoldColor: @Composable () -> Color? = null, bottomNavColor: @Composable () -> Color? = null, settings: @Composable (paddingValues: PaddingValues) -> Unit? = null, forwardHistoryEnabled: Boolean = true, resetInactiveNavigationStacksOnSelection: Boolean = false, showTopAppBarWithoutToolbar: Boolean = false, themeCustomization: @Composable StyledRegistry.Builder.() -> Unit? = null, topAppBar: @Composable (ToolbarConfig?) -> Unit, bottomNav: @Composable (items: List<StyledNavigationItem<NavScreen>>, selectedKey: NavScreen, onItemClick: (NavScreen) -> Unit) -> Unit, sideNav: @Composable (items: List<StyledNavigationItem<NavScreen>>, selectedKey: NavScreen, mode: StyledNavigationMode.Side, expanded: MutableState<Boolean>, onItemClick: (NavScreen) -> Unit) -> Unit, content: @Composable (paddingValues: PaddingValues, adaptiveInfo: State<StyledAdaptiveInfo>) -> Unit) Displays one independently saved Nav3 stack per top-level navigation item. The caller supplies the serializer configuration for the app's open set of NavScreen key types. Color overrides are composable lambdas so they are evaluated inside StyledTheme. Forward history is enabled by default and can be disabled for the whole app. Inactive top-level stacks are preserved unless resetInactiveNavigationStacksOnSelection is enabled. The topAppBar, bottomNav, sideNav, and content slots provide the scaffold UI explicitly. Use MainAppScaffoldDefaults to reuse the standard bar, navigation, and Nav3 content. A custom content slot receives the scaffold padding and adaptive layout information. Set showTopAppBarWithoutToolbar to display the top-app-bar slot even when the current screen has no toolbar configuration or selection content.