import { ReactiveController } from 'lit'; import { Cre8FormElement } from '../cre8-form-element'; type FormElement = Cre8FormElement & { form: HTMLFormElement; name?: string; checked?: boolean; }; /** * This Controller handles the special checkbox logic. * This should be a lot simpler than the radio version. * * See https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/checkbox_role */ export declare class SelectTileCheckboxController implements ReactiveController { private host; constructor(host: FormElement); hostConnected(): void; hostDisconnected(): void; /** * Handle clicking on the radio button * @see _checkAndFocus */ private _clickHandler; /** * Set the element to `checked` * 2) Set us to checked. */ private _checkAndFocus; /** * Handle keydown */ private _handleKeyDown; /** * Handle Enter and Space * @see _checkAndFocus */ private _handleEnterSpace; } export default SelectTileCheckboxController; //# sourceMappingURL=select-tile-checkbox-controller.d.ts.map