Rocky_Mountain_Vending/.pnpm-store/v10/files/ed/b9e611992ce4bdf9e6c3a3eef5203ef09cfb36d59c6837e7a8a6e63909ab6a2919c7faf425b8c1f15047e9f914b419552c60129d430bb27633def5100d33a7
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

34 lines
1.5 KiB
Text

import type { CacheHandler } from '../lib/cache-handlers/types';
/**
* Initialize the cache handlers.
* @param cacheMaxMemorySize - The maximum memory size of the cache in bytes, if
* not provided, the default memory size will be used.
* @returns `true` if the cache handlers were initialized, `false` if they were already initialized.
*/
export declare function initializeCacheHandlers(cacheMaxMemorySize: number): boolean;
/**
* Get a cache handler by kind.
* @param kind - The kind of cache handler to get.
* @returns The cache handler, or `undefined` if it does not exist.
* @throws If the cache handlers are not initialized.
*/
export declare function getCacheHandler(kind: string): CacheHandler | undefined;
/**
* Get a set iterator over the cache handlers.
* @returns An iterator over the cache handlers, or `undefined` if they are not
* initialized.
*/
export declare function getCacheHandlers(): SetIterator<CacheHandler> | undefined;
/**
* Get a map iterator over the cache handlers (keyed by kind).
* @returns An iterator over the cache handler entries, or `undefined` if they
* are not initialized.
* @throws If the cache handlers are not initialized.
*/
export declare function getCacheHandlerEntries(): MapIterator<[string, CacheHandler]> | undefined;
/**
* Set a cache handler by kind.
* @param kind - The kind of cache handler to set.
* @param cacheHandler - The cache handler to set.
*/
export declare function setCacheHandler(kind: string, cacheHandler: CacheHandler): void;