Files
klz-cables.com/.pnpm-store/v10/files/31/c44053132c53e1c2bd4fd2fde33bbbf172e21ac6851e29f75e5cd4cb8dbc307c639de76976aab7dd98c087fde9a5c9658bfd70df177e75b9f4b51a3a55f15e
Marc Mintel 5397309103
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
fix(products): fix breadcrumbs and product filtering (backport from main)
2026-02-24 16:04:21 +01:00

35 lines
1.3 KiB
Plaintext

import * as qs from 'qs-esm';
import React from 'react';
export type SearchParamsContext = {
searchParams: qs.ParsedQs;
stringifyParams: ({ params, replace }: {
params: qs.ParsedQs;
replace?: boolean;
}) => string;
};
/**
* @deprecated
* The SearchParamsProvider is deprecated and will be removed in the next major release. Instead, use the `useSearchParams` hook from `next/navigation` directly. See https://github.com/payloadcms/payload/pull/9581.
* @example
* ```tsx
* import { useSearchParams } from 'next/navigation'
* ```
*/
export declare const SearchParamsProvider: React.FC<{
children?: React.ReactNode;
}>;
/**
* @deprecated
* The `useSearchParams` hook is deprecated and will be removed in the next major release. Instead, use the `useSearchParams` hook from `next/navigation` directly. See https://github.com/payloadcms/payload/pull/9581.
* @example
* ```tsx
* import { useSearchParams } from 'next/navigation'
* ```
* If you need to parse the `where` query, you can do so with the `parseSearchParams` utility.
* ```tsx
* import { parseSearchParams } from '@payloadcms/ui'
* const parsedSearchParams = parseSearchParams(searchParams)
* ```
*/
export declare const useSearchParams: () => SearchParamsContext;
//# sourceMappingURL=index.d.ts.map