Neah/node_modules/next/dist/shared/lib/segment.d.ts
2025-04-24 17:19:14 +02:00

7 lines
504 B
TypeScript

import type { Segment } from '../../server/app-render/types';
export declare function isGroupSegment(segment: string): boolean;
export declare function isParallelRouteSegment(segment: string): boolean;
export declare function addSearchParamsIfPageSegment(segment: Segment, searchParams: Record<string, string | string[] | undefined>): string | [string, string, "d" | "c" | "ci" | "oc" | "di"];
export declare const PAGE_SEGMENT_KEY = "__PAGE__";
export declare const DEFAULT_SEGMENT_KEY = "__DEFAULT__";