import { ComponentInterface, EventEmitter } from '../../stencil-public-runtime'; import { CheckboxValueType, LUFormCheckboxGroupValue } from '../../interface'; import { DatasourceInterface } from '../../types/datasource-interface'; export declare class CheckboxGroup implements ComponentInterface, DatasourceInterface { private inputId; mutationO?: MutationObserver; el: HTMLElement; /** * This is used when the parent form group receives the update event to tell the parent if it should validate or not. */ isResetting: boolean; componentLoaded: boolean; /** * Added to the arial labelled on the native input */ ariaLabeledByAddition: string; /** * Direction of elements */ direction: 'down' | 'across'; /** * id set dynamically */ useId: string; /** * The name of the control, which is submitted with the form data. */ name: string; /** * Tells if a at least one checkbox is required to be checked */ required: boolean; /** * Used to add is-valid attribute signifying validity */ valid: boolean; /** * Used to add is-invalid attribute signifying invalidity */ invalid: boolean; /** * Value of contained checkboxes */ value: CheckboxValueType[] | null; /** * @internal Set by for group component so this component knows if it can dynamically set the label */ hasFormGroup: boolean; /** * emitted when all radio group is "blurred" */ luBlur: EventEmitter; /** * Emitted when the value has changed. */ luChange: EventEmitter; connectedCallback(): void; disconnectedCallback(): void; mutationCallback: (mutationList: MutationRecord[], _observer: MutationObserver) => void; handleNewCheckbox: (checkbox: HTMLLuCheckboxElement) => void; checkboxRemoved: (_checkbox: HTMLLuCheckboxElement) => void; /** * this gives us a handle to set focus on the element */ setFocus(): Promise; getCheckboxes: () => HTMLLuCheckboxElement[]; /** * this gets the values */ getValues(checkboxes: HTMLLuCheckboxElement[]): CheckboxValueType[]; /** * this is used by the form validation/ form group to reset Value without initiating a validity check * @param update */ updateValue(update: { name: string; checked: boolean; }[]): Promise; valueChanged: () => void; render(): any; }