import type { SetStateAction, WritableAtom } from 'jotai/vanilla'; import { type Options, type Location } from './atomWithLocation.js'; /** * Creates an atom that manages a single search parameter. * * The atom automatically infers the type of the search parameter based on the * type of `defaultValue`. * * The atom's read function returns the current value of the search parameter. * The atom's write function updates the search parameter in the URL. */ export declare function atomWithSearchParams(key: string, defaultValue: string, options?: Options): WritableAtom], void>; export declare function atomWithSearchParams(key: string, defaultValue: number, options?: Options): WritableAtom], void>; export declare function atomWithSearchParams(key: string, defaultValue: boolean, options?: Options): WritableAtom], void>;