import type { WithNormalizedProps } from "../../global"; import type { Input as ComboboxInput } from "../ebay-combobox/component"; export interface ChipsComboboxEvent { selected: string[]; } interface ChipsComboboxInput extends Omit { fluid?: boolean; error?: boolean; option?: Marko.AttrTag<{ text: string; }>; selected?: string[]; "a11y-delete-button-text"?: Marko.HTMLAttributes["aria-label"]; "on-expand"?: () => void; "on-collapse"?: () => void; "on-change"?: (event: ChipsComboboxEvent) => void; } export interface Input extends WithNormalizedProps { } interface State { selected: string[]; } export default class Combobox extends Marko.Component { onCreate(input: Input): void; onInput(input: Input): void; handleKeydown(e: KeyboardEvent): void; selectChip(text: string): void; handleDelete(index: number): void; getDropdownEl(): () => HTMLElement; } export {};