/** * Convert URLSearchParams into the object handed to routes as `search` / * `searchParams`: single keys stay strings and repeated keys collect into * arrays, in order. The dev renderer, the production SSR entry, the SPA * page-data endpoint, and the generated client hydration runtime all share * this helper so every environment agrees on one representation. */ declare function searchParamsToObject(searchParams: URLSearchParams): Record; /** @internal Configure the app-wide URL preference for framework link rendering. */ declare function setFarmTrailingSlashPreference(enabled: boolean | undefined): void; declare function resolveFarmTrailingSlashRedirect(url: URL, enabled: boolean): string | null; /** @internal Configure the app-wide base path for framework link rendering. */ declare function setFarmBasePath(basePath: string | undefined): void; declare function applyFarmBasePath(href: string, basePath?: string): string; declare function stripFarmBasePath(pathname: string, basePath?: string): string; export { setFarmTrailingSlashPreference as a, setFarmBasePath as b, stripFarmBasePath as c, applyFarmBasePath as d, resolveFarmTrailingSlashRedirect as r, searchParamsToObject as s };