UNPKG

expo-router

Version:

Expo Router is a file-based router for React Native and web applications.

36 lines 1.46 kB
/// <reference types="react" /> import type { Href } from '../types'; import { useRouter_UNSTABLE } from './router/client'; export { Link } from './router/client'; export declare function usePathname(): string; export declare function useLocalSearchParams(): { [k: string]: string; }; export declare function useGlobalSearchParams(): { [k: string]: string; }; export declare function Slot(): import("react").JSX.Element; export declare function Stack(): import("react").JSX.Element; export declare function Tabs(): import("react").JSX.Element; export declare function Navigator(): void; /** * Redirects to the `href` as soon as the component is mounted. */ export declare function Redirect({ href }: { href: Href; }): null; export declare function ExpoRoot(): void; export declare function useFocusEffect(): void; export declare function useNavigation(): void; export declare function withLayoutContext(): void; export declare function useNavigationContainerRef(): void; export declare function useSegments(): void; export declare function useRootNavigation(): void; export declare function useRootNavigationState(): void; export declare function useUnstableGlobalHref(): void; export { useRouter_UNSTABLE as useRouter }; export { Unmatched } from '../views/Unmatched'; export { ErrorBoundaryProps } from '../views/Try'; export { ErrorBoundary } from '../views/ErrorBoundary'; export declare const router: {}; //# sourceMappingURL=exports.d.ts.map