import { ParsedTableStyleMap, PptxHandler, PptxSlide } from 'pptx-viewer-core'; /** * Pure async helpers for the load pipeline, ported from the Vue binding's * `useLoadContent` body. Media/image *collection* comes from * `pptx-viewer-shared`; these functions add the handler-driven URL * resolution and immutable slide patching. */ /** Result of resolving audio/video/poster media to displayable URLs. */ export interface ResolvedMedia { /** Archive-path -> displayable URL map for media + poster frames. */ urls: Map; /** Blob URLs created during resolution (caller owns revocation). */ blobUrls: string[]; } /** Revoke any `blob:` URLs in the list (no-op for data URLs). */ export declare function revokeBlobUrls(urls: Iterable): void; /** * Resolve audio/video media to Blob URLs and image-like media (poster * frames) to data URLs. Marks elements whose media is missing. */ export declare function resolveMediaUrls(handler: PptxHandler, slides: PptxSlide[]): Promise; /** * Resolve lazily-loaded picture URLs and patch them into the slide tree * immutably (groups recursed). Returns the input array when nothing changed. */ export declare function resolveLazyImages(handler: PptxHandler, slides: PptxSlide[]): Promise; /** * Resolve lazily-loaded table cell image-fill URLs (`a:tcPr/a:blipFill`) and * patch them into the slide tree immutably. Same lazy-load story as * {@link resolveLazyImages}, but for a cell's `backgroundImageFillPath` * rather than a top-level element field. */ export declare function resolveLazyTableCellImages(handler: PptxHandler, slides: PptxSlide[]): Promise; /** * Resolve lazily-loaded whole-table-STYLE image-fill URLs * (`a:tcStyle/a:fill/a:blipFill` on `ppt/tableStyles.xml`) and patch them * into the table style map immutably. Same lazy-load story as * {@link resolveLazyTableCellImages}, but for a presentation-level style * section fill rather than a per-cell one. */ export declare function resolveLazyTableStyleImages(handler: PptxHandler, tableStyleMap: ParsedTableStyleMap | undefined): Promise; //# sourceMappingURL=loader-helpers.d.ts.map