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 { ICheckboxElementProps } from './ICheckboxElementProps'; declare const CheckboxElement_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; /** * Checkbox - A control element that allows users to select or deselect an option. * * @description * The Checkbox component allows users to make binary choices (checked/unchecked) or multiple selections from a set of options. * It supports various states including checked, unchecked, indeterminate, and disabled. Checkboxes are commonly used in forms, * settings panels, and anywhere users need to make boolean choices or multiple selections. * * @name Checkbox * @element mosaik-checkbox * @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. * * @cssprop {String} --check-box-font-family - The font family. * @cssprop {String} --check-box-font-size - The font size. * @cssprop {String} --check-box-font-line-height - The font line height. * @cssprop {String} --check-box-font-weight - The font weight. * @cssprop {String} --check-box-font-letter-spacing - The font letter spacing. * @cssprop {String} --check-box-font-text-decoration - The font text decoration. * @cssprop {String} --check-box-font-text-transform - The font text transform. * @cssprop {String} --check-box-padding-top - The padding top. * @cssprop {String} --check-box-padding-right - The padding right. * @cssprop {String} --check-box-padding-bottom - The padding bottom. * @cssprop {String} --check-box-padding-left - The padding left. * @cssprop {String} --check-box-gap - The gap. * @cssprop {String} --check-box-transition-duration - The transition duration. * @cssprop {String} --check-box-transition-mode - The transition mode. * @cssprop {String} --check-box-transition-property - The transition property. * @cssprop {Color} --check-box-foreground-color - The foreground color. * @cssprop {Color} --check-box-background-color - The background color. * @cssprop {Color} --check-box-border-color - The border color. * @cssprop {String} --check-box-border-width - The border width. * @cssprop {String} --check-box-border-radius - The border radius. * @cssprop {String} --check-box-border-style - The border style. * @cssprop {String} --check-box-shadow - The shadow. * * @dependency {CheckmarkElement} mosaik-checkmark - The checkmark element. * @dependency {TextElement} mosaik-text - The text element. * * @example * Basic checkbox: * ```html * * ``` * * @example * Pre-checked checkbox: * ```html * * ``` * * @example * Checkbox group composition: * ```html * * * * * * ``` * * @public */ export declare class CheckboxElement extends CheckboxElement_base implements IConnectedCallback, ICheckboxElementProps, 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; /** * @public * @override */ get disabled(): boolean; set disabled(value: boolean); /** * @public * @override */ get appearance(): Appearance; set appearance(value: Appearance); /** * @public * @override */ get variant(): Variant; set variant(value: Variant); /** * @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 CheckBoxGroup, 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 */ 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 CheckboxElement { type Props = ICheckboxElementProps; } /** * @public */ declare global { interface HTMLElementTagNameMap { 'mosaik-checkbox': CheckboxElement; } } export {}; //# sourceMappingURL=CheckBoxElement.d.ts.map