UNPKG

jagran-react-doc-viewer

Version:

A highly customizable React document viewer with support for PDF, DOCX, PPTX, images, and more

13 lines 442 B
import { DocumentSource } from '../types'; declare class DocumentPreloader { private cache; private preloadQueue; private maxCacheSize; constructor(maxCacheSize?: number); preloadDocument(document: DocumentSource): Promise<void>; getPreloadedDocument(uri: string): HTMLIFrameElement | undefined; clear(): void; } export declare const preloader: DocumentPreloader; export {}; //# sourceMappingURL=preloader.d.ts.map