/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import type { Suggestion } from '../components/SuggestionsDisplay.js'; export interface UseCompletionReturn { suggestions: Suggestion[]; activeSuggestionIndex: number; visibleStartIndex: number; showSuggestions: boolean; isLoadingSuggestions: boolean; isPerfectMatch: boolean; setSuggestions: React.Dispatch>; setActiveSuggestionIndex: React.Dispatch>; setVisibleStartIndex: React.Dispatch>; setIsLoadingSuggestions: React.Dispatch>; setIsPerfectMatch: React.Dispatch>; setShowSuggestions: React.Dispatch>; resetCompletionState: () => void; navigateUp: () => void; navigateDown: () => void; } export declare function useCompletion(): UseCompletionReturn;