///
/*!
* Copyright (c) Microsoft. All rights reserved.
* Licensed under the MIT license. See LICENSE file in the project.
*/
import type { IContextualMenuItem } from '@fluentui/react';
export declare function useSearch(items: IContextualMenuItem[], onSearch: (results: IContextualMenuItem[]) => void): {
onClear: () => void;
onEscape: () => void;
onChange: (_ev?: React.ChangeEvent, newValue?: string) => void;
};