/******************************************************************************** * Copyright (c) 2026 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License 2.0 which is available at * https://www.eclipse.org/legal/epl-2.0 * * SPDX-License-Identifier: EPL-2.0 ********************************************************************************/ import { FunctionComponent, ReactNode } from 'react'; export interface SearchContextValue { query: string; } export declare const SearchContext: import("react").Context; /** * The draft query shown in the search fields. Read-only — written by the * `search` action and by URL changes; pages read the applied filter via useSearch. */ export declare function useSearchQuery(): SearchContextValue; export declare const SearchProvider: FunctionComponent<{ children: ReactNode; }>; //# sourceMappingURL=search-context.d.ts.map