import { BeforeDeallocCallback, CacheProps, CacheState } from './types'; import CacheRecord from './CacheRecord'; import { Rect2 } from '@js-draw/math'; export declare class CacheRecordManager { private cacheRecords; private maxCanvases; private cacheState; constructor(cacheProps: CacheProps); setSharedState(state: CacheState): void; allocCanvas(drawTo: Rect2, onDealloc: BeforeDeallocCallback): CacheRecord; private getLeastRecentlyUsedRecord; getDebugInfo(): string; }