heartbeat-monitor/node_modules/next/dist/client/components/segment-cache/lru.d.ts
Matt Bruce bed1169443 Initial commit: Heartbeat Monitor dashboard
- Full-featured monitoring dashboard for local web apps
- Real-time status tracking with uptime percentages
- Visual sparklines for status history
- Add/Edit/Delete apps dynamically
- Categories and color coding
- Auto-refresh every 30 seconds
- API endpoints for apps and status management
2026-02-18 11:16:01 -06:00

13 lines
349 B
TypeScript

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 {};