/**
 * Copyright (c) 2026-present, Goldman Sachs
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
import type { AutosuggestResult } from '@finos/legend-server-marketplace';
export declare enum SearchSuggestionType {
    DEFAULT = "default",
    AUTOSUGGEST = "autosuggest",
    SEARCH_QUERY = "search-query",
    LOADING = "loading"
}
export declare const SEARCH_SUGGESTION_CONSTANTS: {
    readonly LOADING_MESSAGE: "Loading suggestions...";
    readonly GROUP_HEADER_SUGGESTED_SEARCHES: "Suggested Searches";
    readonly GROUP_HEADER_DATA_PRODUCTS: "Data Products";
    readonly DEFAULT_PLACEHOLDER: "Search";
    readonly LOADING_KEY: "loading";
    readonly AUTOSUGGEST_LIMIT: 5;
    readonly AUTOSUGGEST_DEBOUNCE_DELAY: 300;
};
export interface SearchSuggestion {
    type: SearchSuggestionType;
    query: string;
    autosuggestResult?: AutosuggestResult | undefined;
}
export declare function createDefaultSuggestions(defaultSuggestionQueries: string[] | undefined): SearchSuggestion[];
export declare function createAutosuggestSuggestions(autosuggestResults: AutosuggestResult[]): SearchSuggestion[];
export declare function createSearchQuerySuggestion(userQuery: string): SearchSuggestion;
export declare function createLoadingSuggestion(): SearchSuggestion;
//# sourceMappingURL=SearchSuggestions.d.ts.map