import { LitElement } from 'lit'; import { TextPosition } from '@viasat/beam-shared/components/switch'; import { ThemeTypes } from '@viasat/beam-shared/utils/constants'; import { InputChoiceGroupContextProps } from '../../InputChoiceGroup/InputChoiceGroup.context'; /** * `bm-switch` * * @slot onText - Specify a side label for the “on” position. If onText is not specified, side label defaults to offText value. * @slot offText - Specify a side label for the “off” position. If offText is not specified, side label defaults to onText value. */ export declare class BmSwitch extends LitElement { #private; static styles: import('lit').CSSResult; inputChoiceGroupContext: InputChoiceGroupContextProps; /** * Specify a side label for the “on” position. If onText is not specified, side label defaults to offText value. */ onText?: string; private _hasOnTextSlotContent; /** * Specify a side label for the “off” position. If offText is not specified, side label defaults to onText value. */ offText?: string; private _hasOffTextSlotContent; /** * Specify the theme of the Switch. By default it inherits the theme from the parent */ theme?: ThemeTypes; /** * Specify the position of the side label * @default 'after' */ textPosition: TextPosition; /** * Specify if Switch displays in a read-only state * @default false * */ readOnly: boolean; /** * Specify if Switch displays in a disabled state * @default false */ disabled: boolean; checked: boolean; /** * The value attribute for the input element */ value?: string; switchRef: import('lit-html/directives/ref').Ref; updated(changedProperties: Map): void; private handleForwardedEvents; private onChange; private _updateDisplayedSlot; render(): import('lit-html').TemplateResult<1>; } declare global { interface HTMLElementTagNameMap { 'bm-switch': BmSwitch; } } //# sourceMappingURL=Switch.d.ts.map