import { LitElement, nothing } from "lit"; type SplitButtonSelectDetail = { readonly value: string; readonly label: string; }; type SplitButtonSelectEvent = CustomEvent; type SwitcherItem = { readonly command: string; readonly label: string; readonly icon: string; }; type PopupItem = { readonly command: string; readonly label: string; readonly icon?: string; readonly disabled?: boolean; }; type ItemsProvider = () => PopupItem[] | Promise; type ButtonToggleDetail = { readonly value: boolean; }; type ButtonToggleEvent = CustomEvent; declare class ButtonElement extends LitElement { #private; disabled: boolean; icon?: string; hideIcon: boolean; hideLabel: boolean; hasIcon: boolean; subtle: boolean; /** * When true, this button acts as a toggle: clicking it flips `value` * between `true` and `false` instead of (or in addition to) firing a * regular click. */ toggleable: boolean; /** * Current on/off state of a toggleable button. Ignored when `toggleable` * is false. Can be set programmatically or declaratively (`value` * attribute). */ value: boolean; /** * What clicking does inside a `
` (including `ixfx-form`): `submit` * submits it, `reset` resets it. The default, `button`, does nothing. */ type: `button` | `submit` | `reset`; static formAssociated: boolean; formDisabledCallback(disabled: boolean): void; protected _renderIcon(): import("lit").TemplateResult<1> | typeof nothing; protected render(): import("lit").TemplateResult<1>; static styles: import("lit").CSSResult[]; } declare global { interface HTMLElementTagNameMap { "ixfx-button": ButtonElement; } } interface ButtonElementEventMap { toggle: ButtonToggleEvent; } interface ButtonElement { addEventListener: ((type: K, listener: (this: ButtonElement, event: ButtonElementEventMap[K]) => void, options?: boolean | AddEventListenerOptions) => void) & ((type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions) => void); } export { ItemsProvider as a, SplitButtonSelectEvent as c, ButtonToggleEvent as i, SwitcherItem as l, ButtonElementEventMap as n, PopupItem as o, ButtonToggleDetail as r, SplitButtonSelectDetail as s, ButtonElement as t };