import { ComponentChildren } from 'preact'; import { EventHandler } from '../../../types/event-handler.js'; export interface TextboxAutocompleteProps { disabled?: boolean; filter?: boolean; icon?: ComponentChildren; onChange?: EventHandler.onChange; onInput?: EventHandler.onInput; onKeyDown?: EventHandler.onKeyDown; onMouseDown?: EventHandler.onMouseDown; onPaste?: EventHandler.onPaste; onValueInput?: EventHandler.onValueChange; options: Array; placeholder?: string; propagateEscapeKeyDown?: boolean; revertOnEscapeKeyDown?: boolean; spellCheck?: boolean; strict?: boolean; top?: boolean; value: string; } export type TextboxAutocompleteOption = TextboxAutocompleteOptionHeader | TextboxAutocompleteOptionValue | TextboxAutocompleteOptionSeparator; export type TextboxAutocompleteOptionHeader = { header: string; }; export type TextboxAutocompleteOptionValue = { value: string; disabled?: boolean; }; export type TextboxAutocompleteOptionSeparator = '-'; export declare const TextboxAutocomplete: import("preact").FunctionalComponent, "ref"> & { ref?: import("preact").Ref | undefined; }>; //# sourceMappingURL=textbox-autocomplete.d.ts.map