Rocky_Mountain_Vending/.pnpm-store/v10/files/99/f3e582777cf946e41f747b527767e34b403a3517ac76fdc3230cf0d54f449dfc4831d995fc79caca3d99739ce687bcd344d0b77c04108d0ee7b3d639233dfc
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

18 lines
696 B
Text

import type { RouteMatcherProvider } from '../route-matcher-provider';
import type { RouteMatcher } from '../../route-matchers/route-matcher';
interface LoaderComparable<D> {
load(): Promise<D>;
compare(left: D, right: D): boolean;
}
/**
* This will memoize the matchers if the loaded data is comparable.
*/
export declare abstract class CachedRouteMatcherProvider<M extends RouteMatcher = RouteMatcher, D = any> implements RouteMatcherProvider<M> {
private readonly loader;
private data?;
private cached;
constructor(loader: LoaderComparable<D>);
protected abstract transform(data: D): Promise<ReadonlyArray<M>>;
matchers(): Promise<readonly M[]>;
}
export {};