/**
 * React Router — routes declared in markup, navigation written as a string.
 *
 * `frameworks/react.ts` already reads the route table out of the markup:
 * `<Route path="/payment" component={PaymentScreen}/>` (v5),
 * `<Route path="/payment" element={<PaymentScreen/>}/>` (v6) and
 * `createBrowserRouter([{ path, element }])` (v6.4+) each become a `route`
 * node named by its path, bound to the component that renders it. That is
 * half of what "how does this app flow" means. This file is the other half.
 *
 * **Navigation is a string.** `history.push('/placeorder')` (v5, and the
 * `useHistory` hook), `navigate('/placeorder')` (v6's `useNavigate`),
 * `router.navigate(…)` on a data router, `redirect('/login')` from a loader
 * or an action: the extractor records each as a call that resolves to
 * nothing, because the target is a path, not a symbol. `resolve()` claims
 * those refs, reads the argument off the source with the Expo Router readers
 * (a string, a template with holes, a `{ pathname }` object, a conditional
 * whose arms agree, a local `const href = …`), matches it against this
 * framework's own route table, and returns a **`navigates`** edge carrying
 * the href — the edge the Screens picture is drawn from and the step Steps
 * draws as another page. `<Link to>` and `<Navigate to>` are JSX attributes
 * rather than calls, so a synthesizer reads them instead
 * (`react-router-synthesizer.ts`).
 *
 * Precision rests on the string naming a real route: a computed path, a path
 * no route serves, and a conditional that forks are left unresolved rather
 * than guessed. `push` and `replace` are two of the most common method names
 * in JavaScript, so the receiver has to name a router — a bare `push` is an
 * array's, and is never claimed.
 *
 * A nested route's path is relative to its parent's (`<Route path="team">`
 * inside `<Route path="/dashboard">`, a data router's `children`); the markup
 * scan composes that tree, a constant path (`paths.app.root.path`) included,
 * and a `lazy: () => import('./routes/x')` route renders that module's default
 * export (`frameworks/react.ts`). Known limit, deliberate: a splat
 * (`/admin/*`) matches anything, so it is never the answer to a concrete href.
 */
import type { FrameworkResolver, ResolutionContext } from '../types';
import { appRootFor, type RootedRouteTable } from './expo-router';
export type ReactRouterTable = RootedRouteTable;
/** The app a route file belongs to — the shared rule (`appRootFor`). */
export declare const reactRouterRoot: typeof appRootFor;
export declare function reactRouterTable(context: ResolutionContext): ReactRouterTable;
/** The verb a navigation call name stands for, or null. */
export declare function reactRouterNavVerb(name: string): string | null;
export declare const reactRouterResolver: FrameworkResolver;
//# sourceMappingURL=react-router.d.ts.map