/**
 * SvelteKit — pages are directories, navigation is a string.
 *
 * `frameworks/svelte.ts` already reads the route table out of the file tree:
 * `src/routes/article/[slug]/+page.svelte` is `/article/:slug`,
 * `[[optional]]` is `:optional?` and `[...rest]` is `*rest`. This file is the
 * navigation half — without it a SvelteKit project's screens are drawn as
 * islands and the Screens tab stays hidden, because it is a picture of
 * `navigates` edges and there were none.
 *
 * Two calls carry a user from one page to another, and they do not agree on
 * where the path goes:
 *
 *   goto('/login')                     // $app/navigation, in the browser
 *   redirect(303, '/article/' + slug)  // @sveltejs/kit, from a load or an action
 *
 * `redirect` takes the status FIRST, so the destination is its second
 * argument — the one difference from every other framework here. Both are
 * read with the Expo Router readers (a string, a template with holes, a
 * conditional whose arms agree, a local `const href = …`) and matched against
 * this framework's own routes. `<a href="/login">` is markup rather than a
 * call, so a synthesizer reads it (`sveltekit-link-synthesizer.ts`).
 *
 * Only `+page.svelte` is a screen. `+layout.svelte` and `+error.svelte` sit at
 * the same path and would be a second screen for one URL; `+server.ts` is an
 * endpoint, not a page. A computed destination, a path no page serves, and an
 * external URL are left unresolved rather than guessed.
 */
import type { FrameworkResolver, ResolutionContext } from '../types';
import { type RootedRouteTable } from './expo-router';
export type SvelteKitTable = RootedRouteTable;
export declare function svelteKitTable(context: ResolutionContext): SvelteKitTable;
/** Which argument of a navigation call is the destination — `redirect` puts the status first. */
export declare function svelteKitHrefArgument(name: string): 0 | 1 | null;
export declare const svelteKitRouterResolver: FrameworkResolver;
//# sourceMappingURL=sveltekit-router.d.ts.map