import { EventEmitter } from '../../stencil-public-runtime'; type DropdownOptionMode = 'list' | 'standalone'; export declare class DatacomDropdownOption { selectedEvent: EventEmitter; deselectedEvent: EventEmitter; /** * Option id */ index: number; /** * Form submit value */ value: string; /** * Display label */ label: string; /** * Icon name */ icon?: string; /** * Icon source */ src?: string; /** * Text for use in option search */ search?: string; /** * Show the item */ visible: boolean; /** * True if the option is selected */ selected: boolean; /** * Display type (mostly private) * - list = display as item in drop down list (default) * - standalone = display a standalone item outside of the list. */ mode: DropdownOptionMode; /** * Emit selected or deselected events for the parent and other consumers to observe. */ private toggle; /** * Handle mouse click on an option * * @param event */ handleClick: (event: MouseEvent) => void; /** * Handle keypress on option to select/deselect * * @param event */ handleKeyUp: (event: KeyboardEvent) => void; render(): any; } export type DatacomDropdownOptionElement = HTMLElement & DatacomDropdownOption; export {};