This commit is contained in:
Kismet Hasanaj
2026-05-02 20:07:02 +02:00
parent ce8672e283
commit 34dc9aec52
9428 changed files with 1733330 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
import type { VaryParamsAccumulator } from '../app-render/vary-params';
export type SearchParams = {
[key: string]: string | string[] | undefined;
};
export declare function createSearchParamsFromClient(underlyingSearchParams: SearchParams): Promise<SearchParams>;
export declare function createServerSearchParamsForMetadata(underlyingSearchParams: SearchParams, isRuntimePrefetchable: boolean): Promise<SearchParams>;
export declare function createServerSearchParamsForServerPage(underlyingSearchParams: SearchParams, varyParamsAccumulator: VaryParamsAccumulator | null, isRuntimePrefetchable: boolean): Promise<SearchParams>;
export declare function createPrerenderSearchParamsForClientPage(): Promise<SearchParams>;
/**
* This is a variation of `makeErroringSearchParams` that always throws an
* error on access, because accessing searchParams inside of `"use cache"` is
* not allowed.
*/
export declare function makeErroringSearchParamsForUseCache(): Promise<SearchParams>;