export declare const COMET_INTENT_SCHEMA_VERSION: "comet.intent.v1"; export declare const COMET_INTENT_CONFIDENCE_THRESHOLD = 0.7; declare const INTENT_NAMES: readonly ["start_change", "resume_change", "fix_bug", "make_tweak", "ask_question", "unknown"]; declare const ENTITY_TYPES: readonly ["change_id", "workflow", "file_path", "command", "capability", "bug_signal", "risk_signal"]; declare const REQUESTED_ACTIONS: readonly ["start", "resume", "continue", "fix", "modify", "create", "verify", "archive", "question", "unknown"]; declare const WORKFLOWS: readonly ["full", "hotfix", "tweak"]; declare const SCOPES: readonly ["small", "medium", "large", "unknown"]; declare const ROUTES: readonly ["full", "hotfix", "tweak", "resume", "ask_user", "out_of_scope"]; declare const NEXT_SKILLS: readonly ["comet-open", "comet-hotfix", "comet-tweak", "comet-design", "comet-build", "comet-verify", "comet-archive"]; declare const EVIDENCE_SOURCES: readonly ["user", "repo", "state"]; type ValueOf = T[number]; export type CometIntentName = ValueOf; export type CometIntentEntityType = ValueOf; export type CometIntentRequestedAction = ValueOf; export type CometIntentWorkflow = ValueOf; export type CometIntentScope = ValueOf; export type CometIntentRouteName = ValueOf; export type CometIntentNextSkill = ValueOf; export type CometIntentEvidenceSource = ValueOf; export interface CometIntentFrame { schema_version: typeof COMET_INTENT_SCHEMA_VERSION; utterance: string; locale: string; intent: { name: CometIntentName; confidence: number; }; entities: Array<{ type: CometIntentEntityType; value: string; text: string; }>; slots: { requested_action: CometIntentRequestedAction; workflow_candidate: CometIntentWorkflow | null; user_explicit_workflow: CometIntentWorkflow | null; change_id: string | null; target_area: string | null; scope: CometIntentScope; existing_behavior: boolean | null; new_capability: boolean | null; public_api_change: boolean | null; schema_change: boolean | null; cross_module_change: boolean | null; }; context: { active_changes_count: number; active_change_names: string[]; dirty_worktree: boolean | null; }; evidence: Array<{ field: string; quote: string; source: CometIntentEvidenceSource; }>; proposed_route: CometIntentRoute; } export interface CometIntentNormalizedFrame extends CometIntentFrame { route: CometIntentRoute; } export interface CometIntentRoute { name: CometIntentRouteName; next_skill: CometIntentNextSkill | null; confidence: number; requires_confirmation: boolean; fallback_reason: string | null; } export interface CometIntentRouteResolution { route: CometIntentRoute; diagnostics: string[]; normalizedFrame: CometIntentNormalizedFrame; } export declare class CometIntentValidationError extends Error { readonly issues: string[]; constructor(issues: string[]); } export declare function resolveCometIntentRoute(input: unknown): CometIntentRouteResolution; export {}; //# sourceMappingURL=classic-intent.d.ts.map