Rocky_Mountain_Vending/.pnpm-store/v10/files/77/badd202a79aaf40d3385f66cf556cca2c7cfbcd6679aadb57383ac253a0d32d2c8dcb8662e0012510d027bfca0d726b36a3d40e61728336f142e1648fd8f09
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

46 lines
2.2 KiB
Text

import type { FlightRouterState } from '../../shared/lib/app-router-types';
import type { AppRouterInstance } from '../../shared/lib/app-router-context.shared-runtime';
import { type PrefetchTaskFetchStrategy } from './segment-cache';
import { type PrefetchTask } from './segment-cache';
type LinkElement = HTMLAnchorElement | SVGAElement;
type Element = LinkElement | HTMLFormElement;
type LinkOrFormInstanceShared = {
router: AppRouterInstance;
fetchStrategy: PrefetchTaskFetchStrategy;
isVisible: boolean;
prefetchTask: PrefetchTask | null;
};
export type FormInstance = LinkOrFormInstanceShared & {
prefetchHref: string;
setOptimisticLinkStatus: null;
};
type PrefetchableLinkInstance = LinkOrFormInstanceShared & {
prefetchHref: string;
setOptimisticLinkStatus: (status: {
pending: boolean;
}) => void;
};
type NonPrefetchableLinkInstance = LinkOrFormInstanceShared & {
prefetchHref: null;
setOptimisticLinkStatus: (status: {
pending: boolean;
}) => void;
};
export type LinkInstance = PrefetchableLinkInstance | NonPrefetchableLinkInstance;
export declare const PENDING_LINK_STATUS: {
pending: boolean;
};
export declare const IDLE_LINK_STATUS: {
pending: boolean;
};
export declare function setLinkForCurrentNavigation(link: LinkInstance | null): void;
export declare function unmountLinkForCurrentNavigation(link: LinkInstance): void;
export declare function mountLinkInstance(element: LinkElement, href: string, router: AppRouterInstance, fetchStrategy: PrefetchTaskFetchStrategy, prefetchEnabled: boolean, setOptimisticLinkStatus: (status: {
pending: boolean;
}) => void): LinkInstance;
export declare function mountFormInstance(element: HTMLFormElement, href: string, router: AppRouterInstance, fetchStrategy: PrefetchTaskFetchStrategy): void;
export declare function unmountPrefetchableInstance(element: Element): void;
export declare function onLinkVisibilityChanged(element: Element, isVisible: boolean): void;
export declare function onNavigationIntent(element: HTMLAnchorElement | SVGAElement, unstable_upgradeToDynamicPrefetch: boolean): void;
export declare function pingVisibleLinks(nextUrl: string | null, tree: FlightRouterState): void;
export {};