import { UiElement } from '../shared/element.js'; import type { RadioLabelPosition } from './radio-shared.js'; export * from './radio-group.js'; export type { RadioLabelPosition } from './radio-shared.js'; /** * One option inside ``. Native radios can't group across shadow roots, * so this follows the WAI-ARIA radio-group pattern: role/aria-checked/roving tabindex * live on the host, and the group handles keyboard and form value. * * `label-position="left"` (Carbon RadioButton `labelPosition`) puts the text before the circle, 8px apart; left * unset, the radio follows its group's `label-position`. * * @slot - Label text */ /** * @csspart circle - The drawn radio circle * @csspart label - The text beside it * @cssprop --ui-radio-border - Ring colour (default `--ui-ink`; Kanok: `--ui-ink-subtle`) * @cssprop --ui-radio-checked - Ring and dot when chosen (default `--ui-ink`; Kanok: `--ui-primary`) */ export declare class UiRadio extends UiElement { static readonly styles: import("lit").CSSResult; value: string; checked: boolean; /** Disables the control; a disabled `
` ancestor does the same. */ disabled: boolean; /** Carbon `labelPosition`: `left` puts the text before the circle; unset, the group's `label-position` applies. */ labelPosition?: RadioLabelPosition; connectedCallback(): void; protected updated(): void; render(): import("lit-html").TemplateResult<1>; } declare global { interface HTMLElementTagNameMap { 'ui-radio': UiRadio; } }