import { ComponentChildren } from 'preact'; import { EventHandler } from '../../types/event-handler.js'; export interface DropdownProps { disabled?: boolean; icon?: ComponentChildren; onChange?: EventHandler.onChange; onKeyDown?: EventHandler.onKeyDown; onMouseDown?: EventHandler.onMouseDown; onValueChange?: EventHandler.onValueChange; options: Array; placeholder?: string; propagateEscapeKeyDown?: boolean; value: null | string; } export type DropdownOption = DropdownOptionHeader | DropdownOptionSeparator | DropdownOptionValue; export type DropdownOptionHeader = { header: string; }; export type DropdownOptionSeparator = '-'; export type DropdownOptionValue = { disabled?: boolean; text?: string; value: string; }; export declare const Dropdown: import("preact").FunctionalComponent, "ref"> & { ref?: import("preact").Ref | undefined; }>; //# sourceMappingURL=dropdown.d.ts.map