import { MaybeRefOrGetter } from 'vue';
declare global {
interface Window {
heic2any: any;
}
}
/**
* Resolve an image source for display: turns a pathKey/URL into a usable URL via
* `pathKeyToURL`, and transparently converts `.heic` files to a displayable blob
* (with a cache) since browsers can't render HEIC in
. Shared by
* and the lightbox so both get the same resolution + HEIC handling.
*
* @param source ref/getter of the raw src or pathKey
* @returns `{ imageSrc, loadingError }` reactive refs
*/
export declare function useImageSrc(source: MaybeRefOrGetter): {
imageSrc: import('vue').Ref;
loadingError: import('vue').Ref;
};
//# sourceMappingURL=useImageSrc.d.ts.map