one
Version:
One is a new React Framework that makes Vite serve both native and web.
16 lines • 818 B
TypeScript
import { type LinkingOptions } from '@react-navigation/native';
import { type Screen } from '../getReactNavigationConfig';
import { getPathFromState } from '../link/linking';
import { type OneLinkingConfig } from '../link/getLinking';
import type { RouteNode } from './Route';
export declare function getNavigationConfig(routes: RouteNode, metaOnly?: boolean): {
initialRouteName?: string;
screens: Record<string, Screen>;
};
export type OneLinkingOptions = LinkingOptions<object> & {
getPathFromState?: typeof getPathFromState;
};
export declare function getLinkingConfig(routes: RouteNode, metaOnly?: boolean, linking?: OneLinkingConfig): OneLinkingOptions;
export declare const stateCache: Map<string, any>;
export declare function clearStateCache(): void;
//# sourceMappingURL=getLinkingConfig.d.ts.map