import { EventEmitter } from '../../stencil-public-runtime'; import { FormControl } from '../form-control'; export type RadioSize = 'standard' | 'small'; export type RadioVariant = 'radio' | 'button'; export type ImagePosition = 'left' | 'right'; export declare class DatacomRadio implements FormControl { host: HTMLDatacomRadioElement; label: string; variant: RadioVariant; size: RadioSize; iconPosition: ImagePosition; type: string; checked: boolean; disabled: boolean; required: boolean; name: string; src: string; icon: string; value: string; autofocus: boolean; autocomplete?: boolean; readonly?: boolean; formmethod: string; formnovalidate?: boolean; form: string; formenctype: string; formaction: string; formtarget: string; selected: EventEmitter; grouped: boolean; private formElement; /** * Auto-validate and display error message on form submit */ autoValidate?: boolean; /** * Unique input control id */ private inputId; /** * Custom error message if control is invalid */ message: string; isInError: boolean; private inputElement; handleChange: () => void; /** * control use for radio button group */ setGrouped(grouped: boolean): Promise; validate(): Promise; /** * Check if the control is valid */ checkValidity(): Promise; onFormSubmit: (event: SubmitEvent) => Promise; /** * When the component loads for the first time find the nearest form * and watch for submit if autoValidate is true */ componentDidLoad(): void; /** * When removed from the DOM, remove any event listeners */ disconnectedCallback(): void; private setInputElementRef; render(): any; } export type HTMLDatacomRadioElement = HTMLElement & DatacomRadio;