import { type IInvalidable } from '../../../Behaviors/Invalidable'; import type { Appearance } from '../../../Types/Appearance'; import type { FlowDirection } from '../../../Types/FlowDirection'; import { LabelPosition } from '../../../Types/LabelPosition'; import type { Variant } from '../../../Types/Variant'; import type { IConnectedCallback } from '../../Abstracts/Interfaces/IConnectedCallback'; import { ToggableElement } from '../../Primitives/Abstracts/Toggable/ToggableElement'; import type { IRadioElementProps } from './IRadioElementProps'; declare const RadioElement_base: (abstract new (...args: Array) => import("../../../Behaviors/Themeable").IThemeableProps) & (abstract new (...args: Array) => IInvalidable & import("../../../Behaviors/Invalidable").IInvalidableProps) & (abstract new (...args: Array) => import("../../../Behaviors/Valueable").IValueableProps) & (abstract new (...args: Array) => import("../../../Behaviors/Variantable").IVariantableProps) & (abstract new (...args: Array) => import("../../../Behaviors/Appearanceable").IAppearanceableProps) & (abstract new (...args: Array) => import("../../../Behaviors/Disableable").IDisableableProps) & (abstract new (...args: Array) => import("../../../Behaviors/Labelable").ILabelableProps) & (abstract new (...args: Array) => import("../../../Behaviors/TextFormattable").ITextFormattableProps) & typeof ToggableElement & import("../../../Behaviors/Themeable").IThemeableCtor; /** * Radio - A UI element allowing users to select a single option from a list. * * @description * The Radio component allows users to select one option from a group of mutually exclusive choices. * Radio buttons are typically used in forms where only one selection is allowed from a set of options. * They work best when grouped together and provide clear, distinct choices to users. * * @name Radio * @element mosaik-radio * @category Inputs * * @slot checkmark - The checkmark slot. * @slot label - The label slot. * * @csspart input - the input part. * @csspart focusRing - the focus ring part. * @csspart checkmark - the checkmark part. * @csspart label - the label part. * @csspart hint - the hint part. * * @dependency {FocusRingElement} mosaik-focus-ring - The focus ring element. * @dependency {CheckmarkElement} mosaik-checkmark - The checkmark element. * @dependency {TextElement} mosaik-text - The text element. * * @example * ```html * * * * ``` * * @public */ export declare class RadioElement extends RadioElement_base implements IConnectedCallback, IRadioElementProps, IInvalidable { private readonly _inheritance; private _inputElement; private _labelPosition; private _required; private _name; /** * @public */ constructor(); /** * Returns the `is` property. * The `is` property represents natural name of this element. * * @public * @static * @override * @readonly */ static get is(): string; /** * @inheritDoc * When used inside a RadioGroup, inherits the group's disabled state unless explicitly set. * * @public * @override */ get disabled(): boolean; set disabled(value: boolean); /** * @inheritdoc * When used inside a RadioGroup, inherits the group's appearance unless explicitly set. * * @public * @override */ get appearance(): Appearance; set appearance(value: Appearance); /** * @inheritdoc * When used inside a RadioGroup, inherits the group's variant unless explicitly set. * * @public * @override */ get variant(): Variant; set variant(value: Variant); /** * @inheritdoc * When used inside a RadioGroup, inherits the group's dir unless explicitly set. * * @public * @override */ get dir(): FlowDirection; set dir(value: FlowDirection); /** * Gets or sets the `labelPosition` property. * * @public * @attr */ get labelPosition(): LabelPosition; set labelPosition(value: LabelPosition); /** * Gets or sets the `required` property. * * @public * @attr */ get required(): boolean; set required(value: boolean); /** * Gets or sets the `name` property. * When used inside a RadioGroup, inherits the group's name unless explicitly set. * * @public * @attr */ get name(): string; set name(value: string); /** * @public * @overload */ connectedCallback(): void; /** * Resets the element to its initial state. * * @public */ reset(): void; /** * Checks the validity of the element and returns `true` if it is valid; otherwise, `false`. * * @public * @override */ checkValidity(): boolean; /** * @public * @override */ check(): void; /** * @public * @override */ uncheck(): void; /** * Toggles the element between checked and unchecked states. * * @public * @override */ toggle(): void; /** * @protected * @override */ protected onApplyTemplate(): void; } /** * @public */ export declare namespace RadioElement { type Props = IRadioElementProps; } /** * @public */ declare global { interface HTMLElementTagNameMap { 'mosaik-radio': RadioElement; } } export {}; //# sourceMappingURL=RadioElement.d.ts.map