import { type IEventEmitter } from '@breadstone/mosaik-elements'; import { type IInvalidable } from '../../../Behaviors/Invalidable'; import { ISlottable } from '../../../Behaviors/Slottable'; import type { CheckedEvent, IGroupChangedEventDetail } from '../../../events'; import { CustomElement } from '../../Abstracts/CustomElement'; import type { IToggleButtonGroupElementProps } from './IToggleButtonGroupElementProps'; declare const ToggleButtonGroupElement_base: (abstract new (...args: Array) => import("../../../Behaviors/Themeable").IThemeableProps) & (abstract new (...args: Array) => IInvalidable & import("../../../Behaviors/Invalidable").IInvalidableProps) & (abstract new (...args: Array) => import("../../../Behaviors/Disableable").IDisableableProps) & (abstract new (...args: Array) => import("../../../Behaviors/Orientable").IOrientableProps) & (abstract new (...args: Array) => import("../../../Behaviors/Valueable").IValueableProps) & (abstract new (...args: Array) => import("../../../Behaviors/Appearanceable").IAppearanceableProps) & (abstract new (...args: Array) => import("../../../Behaviors/Variantable").IVariantableProps) & (abstract new (...args: Array) => import("../../../Behaviors/Slottable").ISlottableProps & ISlottable) & typeof CustomElement & import("../../../Behaviors/Themeable").IThemeableCtor; /** * Toggle Button Group - A container for grouping multiple toggle buttons with single-selection behavior. * * @description * Groups multiple Toggle Buttons to behave like a segmented control. Only one button can be selected at a time. * Inside a group, a toggle button cannot be deselected by clicking it again; clicking a selected button keeps it selected. * This component is useful for creating segmented controls, option selectors, and toggle-based navigation. * * @name Toggle Button Group * @element mosaik-toggle-button-group * @category Buttons * * @fires groupChanged {GroupChangedEvent} - Called when the selection in the group changes. * * @slot - The default slot for toggle buttons. * * @cssprop {String} --button-group-font-family - The font family. * @cssprop {String} --button-group-font-size - The font size. * @cssprop {String} --button-group-font-line-height - The font line height. * @cssprop {String} --button-group-font-weight - The font weight. * @cssprop {String} --button-group-font-letter-spacing - The font letter spacing. * @cssprop {String} --button-group-font-text-decoration - The font text decoration. * @cssprop {String} --button-group-font-text-transform - The font text transform. * @cssprop {String} --button-group-padding-top - The padding top. * @cssprop {String} --button-group-padding-right - The padding right. * @cssprop {String} --button-group-padding-bottom - The padding bottom. * @cssprop {String} --button-group-padding-left - The padding left. * @cssprop {String} --button-group-gap - The gap between buttons. * @cssprop {String} --button-group-transition-duration - The transition duration. * @cssprop {String} --button-group-transition-mode - The transition mode. * @cssprop {String} --button-group-transition-property - The transition property. * @cssprop {Color} --button-group-background-color - The background color. * @cssprop {Color} --button-group-border-color - The border color. * @cssprop {Color} --button-group-foreground-color - The foreground color. * @cssprop {String} --button-group-border-width - The border width. * @cssprop {String} --button-group-border-radius - The border radius. * @cssprop {String} --button-group-border-style - The border style. * @cssprop {String} --button-group-shadow - The shadow. * * @dependency {ToggleButtonElement} mosaik-toggle-button - The toggle button element. * * @example * ```html * * * * * * ``` * * @public */ export declare class ToggleButtonGroupElement extends ToggleButtonGroupElement_base implements IToggleButtonGroupElementProps, IInvalidable, ISlottable { private readonly _provider; private readonly _toggleChanged; private _eventSubscriptions; private _isSwitching; /** * @public */ constructor(); /** * Returns the `is` property. * The `is` property represents natural name of this element. * * @public * @static * @readonly */ static get is(): string; /** * Called when the selection in the group changes. * Provides reference to `IGroupChangedEventDetail` as event detail. * * @public * @readonly * @eventProperty */ get toggleChanged(): IEventEmitter; /** * @public * @override */ onSlotChanges(): void; /** * Returns whether a form will validate when it is submitted, without having to submit it. * * @public * @override */ checkValidity(): boolean; /** * Resets the element to its initial state. * * @public */ reset(): void; /** * Emits the `toggleChanged` event. * * @protected */ protected onToggleChanged(args: CheckedEvent): void; /** * @protected */ protected onValuePropertyChange(_prev?: unknown, next?: unknown): void; /** * @private */ private onToggleChecked; /** * Prevent deselection of the currently selected button inside the group. * * @private */ private onToggleUnchecked; /** * @private */ private clearEvents; } /** * @public */ export declare namespace ToggleButtonGroupElement { type Props = IToggleButtonGroupElementProps; } /** * @public */ declare global { interface HTMLElementTagNameMap { 'mosaik-toggle-button-group': ToggleButtonGroupElement; } } export {}; //# sourceMappingURL=ToggleButtonGroupElement.d.ts.map