import { CustomElement } from '../../Abstracts/CustomElement'; import type { IFlipElementProps } from './IFlipElementProps'; import { FlipSide } from '../../../Types/FlipSide'; declare const FlipElement_base: (abstract new (...args: Array) => import("../../../Behaviors/Themeable").IThemeableProps) & (abstract new (...args: Array) => import("../../../Behaviors/Disableable").IDisableableProps) & typeof CustomElement & import("../../../Behaviors/Themeable").IThemeableCtor; /** * Flip - A UI element that can be flipped by 180 degrees when activated. * * @description * The Flip component is designed to visually flip or rotate by 180 degrees when checked or activated. It's often used * to toggle between two different views or states, providing a dynamic user interface element. * * @category Primitives * * @element mosaik-flip * * @slot front - the front slot. * @slot back - the back slot. * * @csspart root - The root part. * @csspart front - The front part. * @csspart back - The back part. * * @example * ```html * * *
Front
* *
Back
*
* ``` * * @public */ export declare class FlipElement extends FlipElement_base implements IFlipElementProps { private _side; /** * @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 `isFlipped` property. * * @public * @attr */ get side(): FlipSide; set side(value: FlipSide); /** * Toggles the flip state of the element. * * @public */ toggle(): void; } /** * @public */ export declare namespace FlipElement { type Props = IFlipElementProps; } /** * @public */ declare global { interface HTMLElementTagNameMap { 'mosaik-flip': FlipElement; } } export {}; //# sourceMappingURL=FlipElement.d.ts.map