import type { NavigationContainerRef, NavigationState as RNNavigationState } from '@react-navigation/native'; import type { NavigationService, NavigationState, NavigationOptions } from '../../navigation/navigation.js'; import type { Optional } from '@sudobility/types'; export declare class RNNavigationService implements NavigationService { private navigationRef; private listeners; setNavigationRef(ref: NavigationContainerRef>): void; navigate(path: string, options?: Optional): void; goBack(fallbackPath?: Optional): void; goForward(): void; replace(path: string, options?: Optional): void; getCurrentState(): NavigationState; getCurrentPath(): string; getSearchParams(): Record; getParams(): Record; private getCurrentRouteName; private getCurrentRouteParams; addListener(listener: (state: NavigationState) => void): () => void; onStateChange(state: RNNavigationState | undefined): void; isSupported(): boolean; canGoBack(): boolean; canGoForward(): boolean; resetToInitial(initialRoute: string): void; } export declare function getNavigationService(): RNNavigationService; export declare function initializeNavigationService(service?: RNNavigationService): RNNavigationService; export declare function resetNavigationService(): void; export declare const rnNavigationService: RNNavigationService; //# sourceMappingURL=navigation.rn.d.ts.map