import type { ComponentType } from 'react'; import type { RouteNode } from '../Route'; import type { ExpoLinkingOptions } from '../getLinkingConfig'; import { type UrlObject } from './getRouteInfoFromState'; import type { FocusedRouteState, LinkToOptions, ReactNavigationState, StoreRedirects } from './types'; import type { NavigationContainerRefWithCurrent } from '../react-navigation/native'; import type { Href } from '../types'; export type RouterStore = typeof store; type StoreRef = { navigationRef: NavigationContainerRefWithCurrent; routeNode: RouteNode | null; rootComponent: ComponentType; state?: ReactNavigationState; linking?: ExpoLinkingOptions; config: any; redirects: StoreRedirects[]; routeInfo?: UrlObject; }; export declare const storeRef: { current: StoreRef; }; export declare function getSplashScreenAnimationFrame(): number | undefined; export declare function setSplashScreenAnimationFrame(value: number | undefined): void; export declare function setHasAttemptedToHideSplash(value: boolean): void; export declare const store: { shouldShowTutorial(): boolean; readonly state: ReactNavigationState | undefined; readonly navigationRef: NavigationContainerRefWithCurrent; readonly routeNode: RouteNode | null; getRouteInfo(): UrlObject; readonly redirects: StoreRedirects[]; readonly rootComponent: ComponentType; getStateForHref(href: Href, options?: LinkToOptions): (Partial[]; type: string; stale: false; }>, "stale" | "routes">> & Readonly<{ stale?: true; routes: import("../react-navigation").PartialRoute>[]; }> & { state?: Partial[]; type: string; stale: false; }>, "stale" | "routes">> & Readonly<{ stale?: true; routes: import("../react-navigation").PartialRoute>[]; }> & /*elided*/ any; }) | undefined; readonly linking: ExpoLinkingOptions | undefined; setFocusedState(state: FocusedRouteState): void; onReady(): void; onStateChange(newState: ReactNavigationState | undefined): void; assertIsReady(): void; }; export {}; //# sourceMappingURL=store.d.ts.map