1 | import type { ParamListBase } from '@react-navigation/routers';
|
2 | import * as React from 'react';
|
3 | import type { NavigationProp } from './types';
|
4 |
|
5 |
|
6 |
|
7 | declare const NavigationContext: React.Context<NavigationProp<ParamListBase, string, undefined, Readonly<{
|
8 | key: string;
|
9 | index: number;
|
10 | routeNames: string[];
|
11 | history?: unknown[] | undefined;
|
12 | routes: (Readonly<{
|
13 | key: string;
|
14 | name: string;
|
15 | path?: string | undefined;
|
16 | }> & Readonly<{
|
17 | params?: Readonly<object | undefined>;
|
18 | }> & {
|
19 | state?: Readonly<any> | import("@react-navigation/routers").PartialState<Readonly<any>> | undefined;
|
20 | })[];
|
21 | type: string;
|
22 | stale: false;
|
23 | }>, {}, {}> | undefined>;
|
24 | export default NavigationContext;
|