import { CustomElement } from "./custom-element.js"; import { FocusableControllerOptions } from "./controllers/focusable-controller.js"; import { PropertyValues } from "lit"; interface WidgetSettings extends FocusableControllerOptions { isInteractive?: (event?: Event) => boolean; } /** * @internal * Base class for all widget like custom elements. * See {@link https://w3c.github.io/aria/#widget | ARIA Abstract Role: widget} for more details. */ declare class WidgetElement extends CustomElement { #private; /** * Indicates whether the element is disabled. * If `true` it cannot be interacted with nor be focused. */ disabled: boolean; constructor(settings?: Partial); click(): void; protected isInteractive(event?: Event): boolean; protected updated(props: PropertyValues): void; } export { WidgetElement, WidgetSettings };