import type { Size } from '../../../Types/Size'; import { CustomElement } from '../../Abstracts/CustomElement'; import type { IColorSwatchElementProps } from './IColorSwatchElementProps'; declare const ColorSwatchElement_base: (abstract new (...args: Array) => import("../../../Behaviors/Themeable").IThemeableProps) & (abstract new (...args: Array) => import("../../../Behaviors/Valueable").IValueableProps) & (abstract new (...args: Array) => import("../../../Behaviors/Sizeable").ISizeableProps) & typeof CustomElement & import("../../../Behaviors/Themeable").IThemeableCtor; /** * Color Swatch - A user interface component for displaying colors. * * @element mosaik-color-swatch * * @description * The Color Swatch component is designed to showcase a collection of colors, typically in a grid or list format. * Users can interact with the swatch to view different color options and select a color for various purposes, * such as choosing a text color, background color, or customizing the look and feel of elements. * Color Swatches are commonly used in design applications, theming interfaces, or color selection tools. * * @category Media * * @example * Basic usage displaying a color: * ```html * * ``` * * @example * With a name and large size: * ```html * * ``` * * @example * With a checkerboard background for semi-transparent colors: * ```html * * ``` * * @public */ export declare class ColorSwatchElement extends ColorSwatchElement_base implements IColorSwatchElementProps { private readonly _inheritance; private _name; private _value; private _hasBackground; /** * @public */ constructor(); /** * Returns the `is` property. * The `is` property represents natural name of this element. * * @public * @static * @readonly */ static get is(): string; /** * Gets or sets the `size` property. * When used inside a ColorSwatchGroup, inherits the group's size unless explicitly set. * * @public * @override */ get size(): Size; set size(value: Size); /** * Gets or sets the `name` property. * * @public * @attr */ get name(): string | null; set name(value: string | null); /** * Gets or sets the `value` property. * * @public * @override */ get value(): string | null; set value(value: string | null); /** * Gets or sets the `hasBackground` property. * * @public * @attr */ get hasBackground(): boolean; set hasBackground(value: boolean); } /** * @public */ export declare namespace ColorSwatchElement { type Props = IColorSwatchElementProps; } /** * @public */ declare global { interface HTMLElementTagNameMap { 'mosaik-color-swatch': ColorSwatchElement; } } export {}; //# sourceMappingURL=ColorSwatchElement.d.ts.map