import { PodOS } from '@pod-os/core'; import { EventEmitter } from '../../stencil-public-runtime'; import '@shoelace-style/shoelace/dist/components/skeleton/skeleton.js'; /** * Tries fetch an image with the solid authentication, and can visualize http errors like 403 or 404 if this fails. * Falls back to classic `` on network errors like CORS. * Renders a normal link if even this fails. */ export declare class PosImage { src: string; alt: string; /** * Use a blurred version of the image as its own background, if the image is scaled down to fit into the container. */ blurredBackground: boolean; os: PodOS; private dataUri; private brokenFile; private networkError; private imageError; private loading; initializeOsEmitter: EventEmitter; /** * Indicates that the resource given in `src` property has been loaded. */ resourceLoadedEmitter: EventEmitter; componentWillLoad(): void; setOs: (os: PodOS) => Promise; fetchBlob(): Promise; onImageError(err: Event): void; render(): any; }