import type { InjectionKey, Ref, WatchSource } from 'vue';
export interface ThumbnailCacheEntry {
    key: string;
    dataUrl: string;
    pageIndex: number;
    rotation: number;
    lastAccessed: number;
}
export interface ThumbnailCacheInterface {
    get: (pageIndex: number, rotation: number) => string | undefined;
    set: (pageIndex: number, rotation: number, dataUrl: string) => void;
    has: (pageIndex: number, rotation: number) => boolean;
    clear: () => void;
}
export declare const THUMBNAIL_CACHE: InjectionKey<ThumbnailCacheInterface>;
export declare function useThumbnailCache(rotation: Ref<number>, pdfDocumentSource: WatchSource, maxEntries?: number): ThumbnailCacheInterface;
