Rocky_Mountain_Vending/.pnpm-store/v10/files/ea/3a41ccbca1413c8e0f92f6779903bd81690c252b92662fd005a4cebfa87222d008936667dc88cb78d3f66da15f6c1e4b60faf66d1fd8d08f0e0e31a61db21d
DMleadgen 46d973904b
Initial commit: Rocky Mountain Vending website
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>
2026-02-12 16:22:15 -07:00

43 lines
1.7 KiB
Text

import type { FlightRouterState, FlightSegmentPath } from '../../../shared/lib/app-router-types';
import type { CacheNode } from '../../../shared/lib/app-router-types';
import { NavigationResultTag } from '../segment-cache';
type MPANavigationResult = {
tag: NavigationResultTag.MPA;
data: string;
};
type NoOpNavigationResult = {
tag: NavigationResultTag.NoOp;
data: {
canonicalUrl: string;
shouldScroll: boolean;
};
};
type SuccessfulNavigationResult = {
tag: NavigationResultTag.Success;
data: {
flightRouterState: FlightRouterState;
cacheNode: CacheNode;
canonicalUrl: string;
renderedSearch: string;
scrollableSegments: Array<FlightSegmentPath>;
shouldScroll: boolean;
hash: string;
};
};
type AsyncNavigationResult = {
tag: NavigationResultTag.Async;
data: Promise<MPANavigationResult | NoOpNavigationResult | SuccessfulNavigationResult>;
};
export type NavigationResult = MPANavigationResult | SuccessfulNavigationResult | NoOpNavigationResult | AsyncNavigationResult;
/**
* Navigate to a new URL, using the Segment Cache to construct a response.
*
* To allow for synchronous navigations whenever possible, this is not an async
* function. It returns a promise only if there's no matching prefetch in
* the cache. Otherwise it returns an immediate result and uses Suspense/RSC to
* stream in any missing data.
*/
export declare function navigate(url: URL, currentUrl: URL, currentCacheNode: CacheNode, currentFlightRouterState: FlightRouterState, nextUrl: string | null, shouldScroll: boolean, accumulation: {
collectedDebugInfo?: Array<unknown>;
}): NavigationResult;
export {};