import type { Picture } from '../canvas'; import { Matrix } from '../math'; import { RasterCache, RasterCacheEntry } from './raster-cache'; /** * 高级栅格缓存,不要在 Safari 使用 */ export declare class AdvancedRasterCache extends RasterCache { static DEFAULT_PAGE_WIDTH: number; static DEFAULT_PAGE_HEIGHT: number; static DEFAULT_MAX_PAGES: number; static MAX_WIDTH: number; static MAX_HEIGHT: number; /** * 暂时我们只支持一个页面 */ private page; private jobQueue; prepareBeforeFrame(): void; protected onDeleteEntry(entry: RasterCacheEntry): void; protected updateCacheResult(entry: RasterCacheEntry, picture: Picture, matrix: Matrix): void; }