import { Collection } from 'ember-cli-page-object'; import { Component } from 'ember-cli-page-object/-private'; /** * A suggestion in the autocomplete list, with a caption on the left * and metadata on the right. */ declare const suggestion: { caption: import("ember-cli-page-object/-private").GetterDescriptor; meta: import("ember-cli-page-object/-private").GetterDescriptor; }; /** * A rendered tooltip for the focused suggestion in the autocomplete dropdown. */ declare const tooltip: { resetScope: boolean; testContainer: string; scope: string; }; type Autocomplete = Component<{ isVisible: boolean; focusedIndex: number; suggestions: Collection; }>; declare const _default: { isVisible: import("ember-cli-page-object/-private").GetterDescriptor; /** * Trigger a request for autocomplete suggestions. */ trigger: (this: Component) => Promise; /** * Clear the open autocomplete suggestions list, if present. */ close: (this: Component) => any; /** * Focus the next suggestion in the list. */ focusNext: (this: Component) => Promise; /** * Focus the previous suggestion in the list. */ focusPrevious: (this: Component) => Promise; /** * Select the highlighted suggestion for insertion. */ selectFocused: (this: Component) => any; /** * The index of the currently-highlighted selection */ focusedIndex: (this: Component) => any; /** * The currently-highlighted suggestion. */ focusedSuggestion: import("ember-cli-page-object/-private").GetterDescriptor; meta: import("ember-cli-page-object/-private").GetterDescriptor; }>>; /** * The list of active suggestions. */ suggestions: Collection<{ resetScope: boolean; testContainer: string; } & { caption: import("ember-cli-page-object/-private").GetterDescriptor; meta: import("ember-cli-page-object/-private").GetterDescriptor; }>; /** * The active suggestion tooltip. */ tooltip: { resetScope: boolean; testContainer: string; scope: string; }; }; export { _default as default, suggestion, tooltip, Autocomplete };