import type { Feature } from "../../data/Feature.js";
import type { FeatureSource } from "../../data/FeatureSource.js";
/**
 * A search suggestion for {@link tasks/search/SearchProvider!SearchProvider}.
 */
export interface SearchSuggestion {
    /**
     * Contains the feature if the suggestion is logically tied to a specific
     * feature. This is the case for example when working with Studio Search
     * provider.
     */
    feature?: Feature;
    /**
     * Contains the feature source if the suggestion is logically tied to a
     * specific source. This is the case for example when working with Studio
     * Search provider.
     */
    featureSource?: FeatureSource;
    /**
     * A number from 1-100 indicating how strong the match is.
     */
    score: number;
    /**
     * The suggested text.
     */
    suggestion: string;
}
