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 audio - The media audio part. * @csspart media image - The media image part. * @csspart media map - The media map part. * @csspart media other - The media other part. * @csspart media video - The media video part. * * @cssprop {String} --thumbnail-font-family - The font family CSS custom property. * @cssprop {String} --thumbnail-font-letter-spacing - The font letter spacing CSS custom property. * @cssprop {String} --thumbnail-font-line-height - The font line height CSS custom property. * @cssprop {String} --thumbnail-font-size - The font size CSS custom property. * @cssprop {String} --thumbnail-font-text-decoration - The font text decoration CSS custom property. * @cssprop {String} --thumbnail-font-text-transform - The font text transform CSS custom property. * @cssprop {String} --thumbnail-font-weight - The font weight CSS custom property. * @cssprop {String} --thumbnail-gap - The gap CSS custom property. * @cssprop {String} --thumbnail-padding-bottom - The padding bottom CSS custom property. * @cssprop {String} --thumbnail-padding-left - The padding left CSS custom property. * @cssprop {String} --thumbnail-padding-right - The padding right CSS custom property. * @cssprop {String} --thumbnail-padding-top - The padding top CSS custom property. * @cssprop {String} --thumbnail-shadow - The shadow CSS custom property. * @cssprop {String} --thumbnail-shadow-blur - The shadow blur CSS custom property. * @cssprop {String} --thumbnail-shadow-color - The shadow color CSS custom property. * @cssprop {String} --thumbnail-shadow-offset-x - The shadow offset x CSS custom property. * @cssprop {String} --thumbnail-shadow-offset-y - The shadow offset y CSS custom property. * @cssprop {String} --thumbnail-shadow-spread - The shadow spread CSS custom property. * @cssprop {String} --thumbnail-transition-duration - The transition duration CSS custom property. * @cssprop {String} --thumbnail-transition-mode - The transition mode CSS custom property. * @cssprop {String} --thumbnail-transition-property - The transition property CSS custom property. * @cssprop {String} --thumbnail-translate - The translate CSS custom property. * * @dependency mosaik-audio - The Audio element. * @dependency mosaik-image - The Image element. * @dependency mosaik-map - The Map element. * @dependency mosaik-video - The Video element. * * @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