import { default as CortexElement } from '../../../../base/src/cortex-element.ts';
import { CSSResultGroup } from 'lit';
import { default as CxIcon } from '../icon/icon';

/**
 * @summary Radios allow the user to select a single option from a group.
 *
 * @description Radios are designed to be used with [radio groups](?s=atoms&id=/radio-group).
 *
 * @slot (default) - The radio's label.
 *
 * @event cx-blur - Emitted when the control loses focus.
 * @event cx-focus - Emitted when the control gains focus.
 *
 * @csspart base - The component's base wrapper.
 * @csspart control - The circular container that wraps the radio's checked state.
 * @csspart control--checked - The radio control when the radio is checked.
 * @csspart checked-icon - The checked icon, an `<cx-icon>` element.
 * @csspart label - The container that wraps the radio's label.
 */
export default class CxRadio extends CortexElement {
    static readonly styles: CSSResultGroup;
    static readonly dependencies: {
        'cx-icon': typeof CxIcon;
    };
    private readonly hasSlotController;
    checked: boolean;
    protected hasFocus: boolean;
    /** The radio's value. When selected, the radio group will receive this value. */
    value: string;
    /**
     * The radio's size. When used inside a radio group, the size will be determined by the radio group's size so this
     * attribute can typically be omitted.
     */
    size: 'small' | 'medium' | 'large';
    /** Disables the radio. */
    disabled: boolean;
    /** Hides the radio's indicator. */
    hideIndicator: boolean;
    /** Specifies the radius of the checked icon. */
    checkedIconRadius: number;
    constructor();
    connectedCallback(): void;
    private handleBlur;
    private handleClick;
    private handleFocus;
    private setInitialAttributes;
    handleCheckedChange(): void;
    handleDisabledChange(): void;
    render(): import('lit').TemplateResult<1>;
}
declare global {
    interface HTMLElementTagNameMap {
        'cx-radio': CxRadio;
    }
}
