import type { QuickInsertItem } from '../provider-factory';
/**
 * Promotes native editor elements above Rovo skill items in search results
 * when their Fuse scores are close.
 *
 * An item is classified as a Rovo skill when its `extensionType` property
 * (set by `buildMenuItem` for all extension manifest items) matches the
 * Rovo skill extension type. Native editor items (Link, Code snippet, Table,
 * etc.) and other non-Rovo extensions are unaffected, regardless of their
 * priority value.
 *
 * When a skill and a native item have similar scores (within the proximity
 * threshold), the native item is promoted above the skill. But when a skill
 * is a significantly better match (e.g. searching "research" and the skill is
 * "Research Insights" while the native item is "Live search"), the skill keeps
 * its higher rank.
 */
export declare function boostNativeResultsAboveSkills<T extends {
    item: QuickInsertItem;
    score?: number;
}>(results: T[]): T[];
