This repository has been archived on 2026-05-03. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
novarix-networks-homepage/node_modules/next/dist/shared/lib/segment-cache/segment-value-encoding.d.ts
T
Kismet Hasanaj 34dc9aec52 .
2026-05-02 20:07:02 +02:00

13 lines
791 B
TypeScript

import type { Segment as FlightRouterStateSegment } from '../app-router-types';
type Opaque<K, T> = T & {
__brand: K;
};
export type SegmentRequestKeyPart = Opaque<'SegmentRequestKeyPart', string>;
export type SegmentRequestKey = Opaque<'SegmentRequestKey', string>;
export declare const ROOT_SEGMENT_REQUEST_KEY: SegmentRequestKey;
export declare const HEAD_REQUEST_KEY: SegmentRequestKey;
export declare function createSegmentRequestKeyPart(segment: FlightRouterStateSegment): SegmentRequestKeyPart;
export declare function appendSegmentRequestKeyPart(parentRequestKey: SegmentRequestKey, parallelRouteKey: string, childRequestKeyPart: SegmentRequestKeyPart): SegmentRequestKey;
export declare function convertSegmentPathToStaticExportFilename(segmentPath: string): string;
export {};