import { CustomElement } from '../../Abstracts/CustomElement'; import { IThumbnailElementProps } from './IThumbnailElementProps'; import { ThumbnailPreview } from './Previews/ThumbnailPreview'; declare const ThumbnailElement_base: (abstract new (...args: Array) => import("../../../Behaviors/Themeable").IThemeableProps) & (abstract new (...args: Array) => import("../../../Behaviors/Disableable").IDisableableProps) & typeof CustomElement & import("../../../Behaviors/Themeable").IThemeableCtor; /** * Thumbnail - A versatile media preview component that displays images, videos, audio, maps, or fallback icons. * * @description * The Thumbnail component provides a unified interface for displaying different types of media previews * in a consistent size and layout. It automatically renders the appropriate media element based on the * preview type (image, video, audio, map) and falls back to an icon for unsupported content types. This * makes it ideal for file managers, media galleries, attachment lists, and any scenario where diverse * content types need uniform visual representation. * * @name Thumbnail * @element mosaik-thumbnail * @category Primitives * * @csspart media - The media container element (applies to all media types) * @csspart image - The image media element * @csspart video - The video media element * @csspart audio - The audio media element * @csspart map - The map media element * * @dependency {ImageElement} - Image display component for image previews * @dependency {VideoElement} - Video display component for video previews * @dependency {AudioElement} - Audio display component for audio previews * @dependency {MapElement} - Map display component for location previews * @dependency {IconElement} - Icon display component for fallback content * * @example * Image thumbnail: * ```html * * * ``` * * @example * Video thumbnail with poster: * ```html * * * ``` * * @example * Map location thumbnail: * ```html * * * ``` * * @public */ export declare class ThumbnailElement extends ThumbnailElement_base implements IThumbnailElementProps { private _preview; /** * @public */ constructor(); /** * Returns the natural tag name of this element. * * @public * @static * @readonly */ static get is(): string; /** * Gets or sets the `file` property. * * @public */ get preview(): ThumbnailPreview | null; set preview(value: ThumbnailPreview | null); /** * Gets the `kind` property. * The `kind` property represents the kind of preview to display. * * @public * @readonly */ get kind(): ThumbnailPreview['type'] | 'other'; } /** * @public */ export declare namespace ThumbnailElement { type Props = IThumbnailElementProps; } /** * @public */ declare global { interface HTMLElementTagNameMap { 'mosaik-thumbnail': ThumbnailElement; } } export {}; //# sourceMappingURL=ThumbnailElement.d.ts.map