/** * Hook that auto-tracks screen views from Expo Router. * * Uses `usePathname` and `useSegments` from expo-router internally. * Drop it anywhere in your root layout: * * ```tsx * // app/_layout.tsx * import { useExpoRouterTracking } from 'react-native-analytics-bridge'; * * export default function RootLayout() { * useExpoRouterTracking(); * return ; * } * ``` * * Note: expo-router is a peer dependency — install it separately. */ export declare function useExpoRouterTracking(options?: { /** Extra properties to attach to every screen event */ extraProperties?: Record; /** * Custom function to derive a human-readable screen name from the pathname. * Defaults to using the pathname directly. */ getScreenName?: (pathname: string, segments: string[]) => string; }): void; //# sourceMappingURL=expo-router.d.ts.map