export type ToolGroupState = "disabled" | "collapsed" | "expanded"; export type FeatureState = "disabled" | "collapsed" | "expanded"; export declare function normalizeFeatureState(raw: unknown): FeatureState | undefined; export interface ToolGroupDef { key: string; label: string; featureKey?: string; toolNames: ReadonlySet; collapsible: boolean; defaultState: FeatureState; summary: string; } export declare const TOOL_GROUPS: readonly ToolGroupDef[]; export declare function findToolGroup(key: string): ToolGroupDef | undefined; export interface BridgeLazyCapability { key: string; label: string; featureKey: string; defaultState: FeatureState; summary: string; } export declare const BRIDGE_LAZY_CAPABILITIES: readonly BridgeLazyCapability[]; export declare function findBridgeLazyCapability(key: string): BridgeLazyCapability | undefined; export declare function findToolGroupByToolName(toolName: string): ToolGroupDef | undefined; export declare function defaultStateForFeatureKey(featureKey: string): FeatureState | undefined; export declare function findBridgeCapabilityByToolName(toolName: string): BridgeLazyCapability | undefined; export declare function collapsibleToolGroupKeys(): string[]; export declare function resolveToolGroupState(group: ToolGroupDef, configState: FeatureState, expanded: boolean): ToolGroupState; export declare function buildToolGroupPrompt(collapsedGroups: readonly ToolGroupDef[]): string | undefined;