import { NavigationContainerRef } from '@react-navigation/native'; /** * Set the global navigation reference. * Should be called in the root NavigationContainer. */ export declare const setRef: (ref: NavigationContainerRef | null) => void; /** * Get the current navigation reference. */ export declare const getRef: () => NavigationContainerRef | null; /** * Check if the navigator is ready. */ export declare const isReady: () => boolean; /** * Check if the navigator can go back. */ export declare const canGoBack: () => boolean; /** * Navigate to a specific route. * Supports both simple and nested navigation. */ export declare const navigate: (name: string, params?: object) => void; /** * Navigate to a nested screen in a specific navigator. * @param navigatorName - The name of the parent navigator * @param screenName - The name of the screen within that navigator * @param params - Optional parameters to pass to the screen */ export declare const navigateNested: (navigatorName: string, screenName: string, params?: object) => void; /** * Push a new route onto the stack. */ export declare const push: (name: string, params?: object) => void; /** * Go back to the previous screen. */ export declare const goBack: () => void; /** * Reset the navigation state. */ export declare const reset: (name: string, params?: object) => void; /** * Replace the current route. */ export declare const replace: (name: string, params?: object) => void; /** * Pop to the top of the stack. */ export declare const popToTop: () => void; /** * Pop specific number of screens. */ export declare const pop: (count?: number) => void; /** * Get the current route name. */ export declare const getCurrentRoute: () => string | undefined; /** * Unified AppNavigation Object for both static and hook-based usage. */ export declare const AppNavigation: { setRef: (ref: NavigationContainerRef | null) => void; getRef: () => NavigationContainerRef | null; isReady: () => boolean; canGoBack: () => boolean; navigate: (name: string, params?: object) => void; navigateNested: (navigatorName: string, screenName: string, params?: object) => void; push: (name: string, params?: object) => void; goBack: () => void; reset: (name: string, params?: object) => void; replace: (name: string, params?: object) => void; popToTop: () => void; pop: (count?: number) => void; getCurrentRoute: () => string | undefined; };