import { EventEmitter } from '../../stencil-public-runtime'; /** * @slot default - The content to be displayed inside the dropdown item. If nothing is passed, the label will be used. */ export declare class NvFielddropdownitem { el: HTMLNvFielddropdownitemElement; /****************************************************************************/ /** * Disables the item, preventing any user interaction. */ readonly disabled: boolean; /** * Indicates if the item is selected. */ readonly selected: boolean; /** * Value associated with the item. This is recommended and required for proper * form management. */ value?: string; /** * Specifies the text label for the dropdown item. * * When no default slot is provided, this label is rendered as the item's * visible text. If the default slot is supplied, the label isn’t directly * displayed but is used as the selected text (on the dropdown trigger). If * no label is explicitly set, the component will automatically derive the * label from the text content of the default slot. */ readonly label?: string; /** * If detached, the item will not be filtered out or change the dropdown's * selected item. Useful for actionable items, such as Add New item, etc. */ readonly detached: boolean; /****************************************************************************/ /** * Event emitted when the dropdown item is selected. */ dropdownItemSelected: EventEmitter<{ /** The value associated with the item. */ label?: string; /** The value associated with the item. */ value: string; /** Is the item detached? */ detached?: boolean; }>; handleKeyDown(event: KeyboardEvent): void; /****************************************************************************/ private handleSelected; /****************************************************************************/ componentWillRender(): void; /****************************************************************************/ render(): any; }