/**
 * Next.js — navigation written as markup.
 *
 *   <Link href="/users">Users</Link>
 *   <Link href={`/users/${user.id}`}>…</Link>
 *   <Link href={{ pathname: '/users/[id]', query: { id } }}>…</Link>
 *   <a href="/pricing">Pricing</a>
 *
 * A JSX attribute is not a call, so the extractor records no reference for
 * it and the resolver in `frameworks/nextjs.ts` — which binds `router.push`
 * and `redirect` — never sees it. This pass reads every `<Link href>` and
 * internal `<a href>` out of the source, attributes it to the component
 * (the innermost function) it is written in, matches the href against the
 * Next route table, and synthesizes one `navigates` edge from the component
 * to the page. That is the edge the Screens view walks back from, so a
 * page's links are its transitions exactly as a screen's taps are.
 *
 * Edges are `provenance:'heuristic'`, `synthesizedBy:'next-link'`, with the
 * href as written and `registeredAt` = the JSX site. A computed href
 * (`href={href}`) is nothing; a path no page serves is nothing. Nothing here
 * runs on a project with no Next pages.
 */
import type { Edge } from '../types';
import type { ResolutionContext } from './types';
import type { MaybeYield } from './cooperative-yield';
export declare function nextLinkEdges(ctx: ResolutionContext, onYield: MaybeYield): Promise<Edge[]>;
//# sourceMappingURL=next-router-synthesizer.d.ts.map