import * as React from 'react'; import type { StateNavigator } from 'navigation'; import type { BaseScreen, FluentParams, Root } from '../navigationUtils.js'; import type { Theme } from '../theme.js'; import type { FluentScreen } from '../navigationUtils.js'; export declare const NavigationBackGestureEnabledContext: React.Context; export declare function NavigationBackGestureProvider({ children, }: { children: React.ReactNode; }): React.JSX.Element; export declare function usePreventNativeBackGesture(prevent: boolean): void; declare const RidgeNavigationContext: React.Context<{ screens: BaseScreen[]; rootNavigator: StateNavigator; navigationRoot: Root; preloadedCache: Record; /** Path → when it was last preloaded (ms since epoch). */ preloadedAt: Record; /** * Settles once the screen's code and preloaded data can render without * suspending; null when they already can. */ whenScreenReady: (screen: BaseScreen, params: any, preloaded: any) => Promise | null; preloadRoot: (rootKey: string) => void; preloadScreen: (screen: BaseScreen, params: any) => any; preloadElement: (screen: BaseScreen) => void; theme: Theme; SuspenseContainer: any; fluent: (rootSettings: FluentParams, ...fluentScreens: FluentScreen[]) => void; goToUrl: string | undefined; basePath: string | undefined; }>; export default RidgeNavigationContext; //# sourceMappingURL=RidgeNavigationContext.d.ts.map