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>
12 lines
349 B
Text
12 lines
349 B
Text
export type LRU<T extends LRUNode> = {
|
|
put(node: T): void;
|
|
delete(node: T): void;
|
|
updateSize(node: T, size: number): void;
|
|
};
|
|
type LRUNode<T = any> = {
|
|
prev: T | null;
|
|
next: T | null;
|
|
size: number;
|
|
};
|
|
export declare function createLRU<T extends LRUNode>(maxLruSize: number, onEviction: (node: T) => void): LRU<T>;
|
|
export {};
|