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<ReactNavigation.RootParamList>;
    routeNode: RouteNode | null;
    rootComponent: ComponentType<any>;
    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<ReactNavigation.RootParamList>;
    readonly routeNode: RouteNode | null;
    getRouteInfo(): UrlObject;
    readonly redirects: StoreRedirects[];
    readonly rootComponent: ComponentType<any>;
    getStateForHref(href: Href, options?: LinkToOptions): (Partial<Omit<Readonly<{
        key: string;
        index: number;
        routeNames: string[];
        history?: unknown[];
        routes: import("../react-navigation").NavigationRoute<import("../react-navigation").ParamListBase, string>[];
        type: string;
        stale: false;
    }>, "stale" | "routes">> & Readonly<{
        stale?: true;
        routes: import("../react-navigation").PartialRoute<import("../react-navigation").Route<string, object | undefined>>[];
    }> & {
        state?: Partial<Omit<Readonly<{
            key: string;
            index: number;
            routeNames: string[];
            history?: unknown[];
            routes: import("../react-navigation").NavigationRoute<import("../react-navigation").ParamListBase, string>[];
            type: string;
            stale: false;
        }>, "stale" | "routes">> & Readonly<{
            stale?: true;
            routes: import("../react-navigation").PartialRoute<import("../react-navigation").Route<string, object | undefined>>[];
        }> & /*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