import type { GotoOptions, RouterMode } from '../../../types/svelteRouter'; /** * Internal — called by Router.svelte on mount so navigation primitives * know which URL strategy to use. Hash mode rewrites the URL bar to * `#/path` instead of `/path`. */ export declare const setRouterMode: (mode: RouterMode) => void; /** * Programmatically navigate to a URL. Updates `page.url`, writes history, * and (when supported) wraps the swap in `document.startViewTransition`. * * Mirrors SvelteKit's `goto` from `$app/navigation` — same name, same * options shape, so a SvelteKit user finds the primitive familiar. */ export declare const goto: (target: string, options?: GotoOptions) => Promise;