import type { Slide } from '../types/slides'; export declare const PREVIEW_BITMAP_MAX_EDGE = 512; export declare const PREVIEW_BITMAP_CACHE_MAX = 640; export declare const FULL_BITMAP_CACHE_MAX = 64; export type LoadImageBitmapOptions = { maxEdge?: number; }; export declare const subscribePreviewBitmaps: (fn: (src: string) => void) => () => void; export declare const getCachedImageBitmap: (src: string, options?: LoadImageBitmapOptions) => ImageBitmap | undefined; export declare const previewPaintHasMedia: (painted: Set | undefined, srcs: readonly string[]) => boolean; export declare const loadImageBitmap: (src: string, options?: LoadImageBitmapOptions) => Promise; export declare const loadPreviewImageBitmap: (src: string) => Promise; export declare const getCachedPreviewImageBitmap: (src: string) => ImageBitmap; export declare const collectSlidePreviewSrcs: (slide: Slide) => string[]; export declare const collectSlideImageSrcs: (slides: readonly Slide[]) => string[]; export declare const prefetchPreviewImageBitmaps: (srcs: readonly string[]) => void; export declare const revokeImageBitmapsNotIn: (keep: Iterable) => void; export declare const syncImageBitmapsToSlides: (slides: readonly Slide[]) => void;