import type { NavigationState, PartialState } from '@react-navigation/routers'; import * as React from 'react'; declare const _default: React.Context<{ isDefault?: true | undefined; state?: Readonly<{ key: string; index: number; routeNames: string[]; history?: unknown[] | undefined; routes: (Readonly<{ key: string; name: string; path?: string | undefined; }> & Readonly<{ params?: Readonly; }> & { state?: Readonly | PartialState> | undefined; })[]; type: string; stale: false; }> | PartialState & Readonly<{ params?: Readonly; }> & { state?: Readonly | PartialState> | undefined; })[]; type: string; stale: false; }>> | undefined; getKey: () => string | undefined; setKey: (key: string) => void; getState: () => NavigationState | PartialState | undefined; setState: (state: NavigationState | PartialState | undefined) => void; getIsInitial: () => boolean; addOptionsGetter?: ((key: string, getter: () => object | undefined | null) => void) | undefined; }>; export default _default;