/opt/canhelp/node_modules/next/dist/client/components/segment-cache-impl
Edit: /opt/canhelp/node_modules/next/dist/client/components/segment-cache-impl/cache-key.d.ts (509B)
type Opaque
= T & {
__brand: K;
};
export type NormalizedHref = Opaque<'NormalizedHref', string>;
export type NormalizedSearch = Opaque<'NormalizedSearch', string>;
export type NormalizedNextUrl = Opaque<'NormalizedNextUrl', string>;
export type RouteCacheKey = Opaque<'RouteCacheKey', {
href: NormalizedHref;
search: NormalizedSearch;
nextUrl: NormalizedNextUrl | null;
}>;
export declare function createCacheKey(originalHref: string, nextUrl: string | null): RouteCacheKey;
export {};