UNPKG

nuqs-svelte

Version:

Svelte adaptation of the `nuqs` library for managing URL query strings as state.

11 lines (10 loc) 901 B
export declare const errors: { readonly 303: "Multiple adapter contexts detected. This might happen in monorepos."; readonly 404: "nuqs requires an adapter to work with your framework."; readonly 409: "Multiple versions of the library are loaded. This may lead to unexpected behavior. Currently using `%s`, but `%s` (via the %s adapter) was about to load on top."; readonly 414: "Max safe URL length exceeded. Some browsers may not be able to accept this URL. Consider limiting the amount of state stored in the URL."; readonly 429: "URL update rate-limited by the browser. Consider increasing `throttleMs` for key(s) `%s`. %O"; readonly 500: "Empty search params cache. Search params can't be accessed in Layouts."; readonly 501: "Search params cache already populated. Have you called `parse` twice?"; }; export declare function error(code: keyof typeof errors): string;