import type { Settings } from "../config/settings.js";
import type { SettingValue } from "../config/settings-schema.js";
export declare const TOOL_DISCOVERY_AUTO_THRESHOLD = 40;
export declare const TOOL_DISCOVERY_SEARCH_TOOL_NAME = "search_tool_bm25";
export type ToolDiscoveryModeSetting = SettingValue<"tools.discoveryMode">;
export type EffectiveToolDiscoveryMode = Exclude<ToolDiscoveryModeSetting, "auto">;
export declare function countToolsForAutoDiscovery(toolNames: Iterable<string>): number;
export declare function resolveEffectiveToolDiscoveryMode(settings: Settings, toolCount: number): EffectiveToolDiscoveryMode;
