import { CssTime } from '@breadstone/mosaik-themes'; import { ScaleMode } from '../../../Types/ScaleMode'; import { CustomElement } from '../../Abstracts/CustomElement'; import { IScaleElementProps } from './IScaleElementProps'; declare const ScaleElement_base: (abstract new (...args: Array) => import("../../../Behaviors/Themeable").IThemeableProps) & (abstract new (...args: Array) => import("../../../Behaviors/Disableable").IDisableableProps) & (abstract new (...args: Array) => import("../../../Behaviors/Attachable").IAttachable) & typeof CustomElement & import("../../../Behaviors/Themeable").IThemeableCtor; /** * Scale - A component for displaying scales, such as sliders or rating scales. * * @description * The Scale component is designed to render various types of scales. This could include sliders for adjusting * values, rating scales for user feedback, or any other component that represents a range of values in a visual format. * It offers customizable options for scale appearance, behavior, and value representation. * * @name Scale * @element mosaik-scale * @category Effects * * @example * Scale effect attached to a card element: * ```html *
Product Card
* * ``` * * @example * Scale with shrink mode and custom factor: * ```html *
Hover Me
* * ``` * * @public */ export declare class ScaleElement extends ScaleElement_base implements IScaleElementProps { private _mode; private _factor; private _duration; private _mouseEnterSubscription; private _mouseLeaveSubscription; /** * @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 `mode` property. * * @public * @attr */ get mode(): ScaleMode; set mode(value: ScaleMode); /** * Gets or sets the `factor` property. * * @public * @attr */ get factor(): number; set factor(value: number); /** * Gets or sets the `duration` property. * * @public * @attr */ get duration(): CssTime; set duration(value: CssTime); /** * @public * @override */ disconnectedCallback(): void; /** * @public * @override */ protected onApplyTemplate(): void; /** * @private */ private onMouseEnter; /** * @private */ private onMouseLeave; /** * Applies the animation as style to the element. * * @private */ private applyAnimation; /** * @private */ private calculateFactor; } /** * @public */ export declare namespace ScaleElement { type Props = IScaleElementProps; } /** * @public */ declare global { interface HTMLElementTagNameMap { 'mosaik-scale': ScaleElement; } } export {}; //# sourceMappingURL=ScaleElement.d.ts.map