/*! * Copyright 2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ import { ExtendedHTMLElement } from '../../helper/dom'; export interface FormItemPillBoxProps { id: string; value?: string; classNames?: string[]; attributes?: Record; label?: HTMLElement | ExtendedHTMLElement | string; description?: ExtendedHTMLElement; placeholder?: string; wrapperTestId?: string; onChange?: (value: string) => void; disabled?: boolean; } export declare abstract class FormItemPillBoxAbstract { render: ExtendedHTMLElement; setValue: (value: string) => void; getValue: () => string; setEnabled: (enabled: boolean) => void; } export declare class FormItemPillBoxInternal extends FormItemPillBoxAbstract { private readonly props; private readonly pillsContainer; private readonly input; private readonly wrapper; private pills; render: ExtendedHTMLElement; constructor(props: FormItemPillBoxProps); private addPill; private notifyChange; setValue: (value: string) => void; getValue: () => string; setEnabled: (enabled: boolean) => void; } export declare class FormItemPillBox extends FormItemPillBoxAbstract { render: ExtendedHTMLElement; private readonly instance; constructor(props: FormItemPillBoxProps); setValue: (value: string) => void; getValue: () => string; setEnabled: (enabled: boolean) => void; }