import type { SetSearchParams } from 'wouter';
export type SetSearchParam = (nextInit: string | null | ((prev: string | null) => string | null), options?: {
    replace?: boolean;
    state?: any;
}) => void;
export declare function useSearchParam(key: string, searchParams: URLSearchParams, setSearchParams: SetSearchParams): [string | null, SetSearchParam];
