import type { EffectivenessDimensionScore } from "../../domain/runtime/effectiveness-dimension.js"; import type { StaleValueWarning } from "../../domain/runtime/stale-value-warning.js"; export interface EffectivenessSignalRecord { signalType: string; subjectId: string; context?: string; result: "success" | "skipped" | "failed" | "accepted" | "rejected"; recordedAt: string; details?: Record; category?: "install" | "firstRun" | "guidance" | "runtimeUsage" | "maintenance" | "recursive" | "handoff" | "outcomes" | "heuristics"; confidenceLevel?: "direct" | "inferred-high" | "inferred-medium" | "inferred-low"; } export interface EffectivenessSummary { total: number; bySignalType: Record; byResult: Record; latest?: EffectivenessSignalRecord; } export declare function readEffectivenessSignals(root: string): Promise; export declare function appendEffectivenessSignal(root: string, signal: EffectivenessSignalRecord): Promise; export declare function updateLastRuntimeCommandTimestamp(root: string): Promise; export declare function readLastRuntimeCommandTimestamp(root: string): Promise; export declare function appendGuidanceAdoptionSignal(root: string, suggestedCommand: string, executedCommand: string): Promise; export declare function summarizeEffectivenessSignals(root: string): Promise; export interface EffectivenessSummaryV2 extends EffectivenessSummary { dimensions: EffectivenessDimensionScore[]; staleWarnings: StaleValueWarning[]; suggestedNextActions: string[]; } export declare function summarizeEffectivenessSignalsV2(root: string): Promise; //# sourceMappingURL=local-metrics-store.d.ts.map