Restore UI functionalities and clean up dependencies

This commit is contained in:
streaper2
2026-05-08 08:32:58 +02:00
parent 8946955f76
commit 0895b7d5bc
26751 changed files with 4207476 additions and 158 deletions

View File

@@ -0,0 +1,13 @@
import type { DynamicParamTypesShort } from '../shared/lib/app-router-types';
import type { NormalizedPathname, NormalizedSearch } from './components/segment-cache/cache-key';
import type { RSCResponse } from './components/router-reducer/fetch-server-response';
import type { ParsedUrlQuery } from 'querystring';
export type RouteParamValue = string | Array<string> | null;
export declare function getRenderedSearch(response: RSCResponse<unknown> | Response): NormalizedSearch;
export declare function getRenderedPathname(response: RSCResponse<unknown> | Response): NormalizedPathname;
export declare function parseDynamicParamFromURLPart(paramType: DynamicParamTypesShort, pathnameParts: Array<string>, partIndex: number): RouteParamValue;
export declare function doesStaticSegmentAppearInURL(segment: string): boolean;
export declare function getCacheKeyForDynamicParam(paramValue: RouteParamValue, renderedSearch: NormalizedSearch): string;
export declare function urlToUrlWithoutFlightMarker(url: URL): URL;
export declare function getParamValueFromCacheKey(paramCacheKey: string, paramType: DynamicParamTypesShort): string | string[];
export declare function urlSearchParamsToParsedUrlQuery(searchParams: URLSearchParams): ParsedUrlQuery;