/** * SPDX-FileCopyrightText: (c) 2026 Liferay, Inc. https://liferay.com * SPDX-License-Identifier: LGPL-2.1-or-later OR LicenseRef-Liferay-DXP-EULA-2.0.0-2023-06 */ /// interface IContext { /** * Ref of the container to align the dropdown. */ containerElementRef: React.RefObject; /** * Status of a data fetch is happening, this will help * add necessary markups. */ loading: boolean; /** * Changes the loading status and causes a new rendering. */ onLoadingChange: (loading: boolean) => void; } export declare const LegacyContext: import("react").Context; declare type AutocompleteContext = { activeDescendant?: React.Key; onActiveDescendant: (value: React.Key) => void; onClick: (value: string) => void; selectedKeys?: Array; }; export declare const AutocompleteContext: import("react").Context; export declare function useAutocompleteState(): AutocompleteContext; export {};