import { LitElement, nothing } from 'lit'; import { ShadowPartsController } from '../controllers/shadow-parts-controller'; import { FileType } from '../types/files.types'; declare global { interface HTMLElementTagNameMap { "wy-file-view-image": WyFileViewImage; } } /** * Image preview component used inside file preview overlays. * * **Used sub components:** * * - [``](./ui/wy-container.ts) * - [``](./ui/wy-progress-circular.ts) * * @csspart wy-content-image - Root image wrapper. * @csspart wy-intrinsic-image - Modifier when dimensions are not provided. * @csspart wy-content-image-img - The element for the preview. * @csspart wy-content-progress - Progress indicator shown while the image loads. * * @fires {FilePreviewLoadedEventType} file-preview-loaded - The file preview is considered loaded. */ export declare class WyFileViewImage extends LitElement { static styles: import('lit').CSSResult[]; /** @internal */ protected exportParts: ShadowPartsController; /** * Source file. */ file?: FileType; /** * Dispatches the `file-preview-loaded` event once the image has loaded. * * @internal */ protected dispatchLoaded(): boolean; render(): import('../../node_modules/lit-html/node/lit-html.js').TemplateResult<1> | typeof nothing; } //# sourceMappingURL=wy-file-view-image.d.ts.map