Next.js website for Rocky Mountain Vending company featuring: - Product catalog with Stripe integration - Service areas and parts pages - Admin dashboard with Clerk authentication - SEO optimized pages with JSON-LD structured data Co-authored-by: Cursor <cursoragent@cursor.com>
10 lines
884 B
Text
10 lines
884 B
Text
import type { FlightRouterState, Segment } from './app-router-types';
|
|
export declare function getSegmentValue(segment: Segment): string;
|
|
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>): Segment;
|
|
export declare function computeSelectedLayoutSegment(segments: string[] | null, parallelRouteKey: string): string | null;
|
|
/** Get the canonical parameters from the current level to the leaf node. */
|
|
export declare function getSelectedLayoutSegmentPath(tree: FlightRouterState, parallelRouteKey: string, first?: boolean, segmentPath?: string[]): string[];
|
|
export declare const PAGE_SEGMENT_KEY = "__PAGE__";
|
|
export declare const DEFAULT_SEGMENT_KEY = "__DEFAULT__";
|