import { LitElement } from 'lit'; import { SPLIT_BTN_KINDS, SPLIT_BTN_SIZES, SPLIIT_BTN_ICON_POSITION } from './defs'; import './splitButtonOption'; /** * Split Button * @slot unnamed - Slot for split button options. * @slot icon - Slot for an icon (optional). * @fires on-click - Captures the event and emits the selected value and original event details. */ export declare class SplitButton extends LitElement { static styles: import("lit").CSSResult; /** @ignore */ static shadowRootOptions: { delegatesFocus: boolean; mode: ShadowRootMode; serializable?: boolean; slotAssignment?: SlotAssignmentMode; }; /** ARIA label for the buttons for accessibility. */ accessor description: string; /** Split button name. */ accessor name: string; /** Specifies the visual appearance/kind of the split button. */ accessor kind: SPLIT_BTN_KINDS; /** Specifies the size of the split button. */ accessor size: SPLIT_BTN_SIZES; /** Specifies the position of the icon relative to any split button text. Default `'left'`. This is optional and work with icon slot.*/ accessor iconPosition: SPLIIT_BTN_ICON_POSITION; /** Split button text (required) */ accessor label: string; /** Determines if the split button is disabled. */ accessor disabled: boolean; /** Determines if the split button indicates a destructive action. */ accessor destructive: boolean; /** Menu CSS min-width value. */ accessor menuMinWidth: string; /** Listbox/menu open state. */ accessor open: boolean; /** * Queries any slotted options. * @ignore */ accessor options: Array; /** * Open menu upwards. * @ignore */ accessor _openUpwards: boolean; /** * Queries the .select DOM element. * @ignore */ accessor buttonEl: HTMLElement; /** * Assistive text for screen readers. * @ignore */ accessor assistiveText: string; render(): import("lit-html").TemplateResult<1>; updated(changedProps: any): void; private handleListBlur; private handleButtonKeydown; private handleListKeydown; private handleKeyboard; private toggleDropdown; private _handleClickOut; private _handleBlur; private _handlePrimaryClick; private _handleClick; private emitValue; connectedCallback(): void; disconnectedCallback(): void; } declare global { interface HTMLElementTagNameMap { 'kyn-split-btn': SplitButton; } } //# sourceMappingURL=splitButton.d.ts.map