/** * Opt-in LLM feature naming — structural context only, offline fallback. */ import type { SutraGraph, SutraFeature } from "../types.js"; import { type LlmProvider } from "./llm.js"; export declare const AI_NAME_MAX = 60; export declare const AI_SUMMARY_MAX = 160; export interface InferFeaturesOptions { enabled: boolean; llm?: LlmProvider; onSkip?: (reason: string) => void; } /** * When enabled=false, stamps label_source heuristic and returns unchanged labels. * When enabled=true, attempts per-feature LLM inference with fallback. */ export declare function inferFeatureLabels(graph: SutraGraph, opts: InferFeaturesOptions): Promise; export declare function countAiLabels(features: SutraFeature[]): { ai: number; heuristic: number; };