/** * Setup Types - Shared types for the setup wizard * * @module commands/setup/types */ export interface SetupOptions { yes?: boolean; verbose?: boolean; resume?: boolean; } export interface FeatureStats { [key: string]: number; } export interface FeatureResult { enabled: boolean; success: boolean; timestamp?: string; stats?: FeatureStats; error?: string; } export interface SetupChoices { autoApprove: boolean; approveThreshold: number; buildCallGraph: boolean; buildTestTopology: boolean; buildCoupling: boolean; scanDna: boolean; initMemory: boolean; } export interface SetupState { phase: number; completed: string[]; choices: SetupChoices; startedAt: string; } export interface ScanResult { success: boolean; patternCount: number; categories: Record; } export interface ApprovalResult { approved: number; threshold: number; } export interface AnalysisResults { callGraph?: FeatureResult; testTopology?: FeatureResult; coupling?: FeatureResult; dna?: FeatureResult; memory?: FeatureResult; } export interface SourceOfTruth { version: string; schemaVersion: string; createdAt: string; updatedAt: string; project: { id: string; name: string; rootPath: string; }; baseline: { scanId: string; scannedAt: string; fileCount: number; patternCount: number; approvedCount: number; categories: Record; checksum: string; }; features: { callGraph: FeatureConfig; testTopology: FeatureConfig; coupling: FeatureConfig; dna: FeatureConfig; memory: FeatureConfig; }; settings: { autoApproveThreshold: number; autoApproveEnabled: boolean; }; history: HistoryEntry[]; } export interface FeatureConfig { enabled: boolean; builtAt?: string; stats?: FeatureStats; } export interface HistoryEntry { action: string; timestamp: string; details: string; } export declare const DRIFT_DIR = ".drift"; export declare const SOURCE_OF_TRUTH_FILE = "source-of-truth.json"; export declare const SETUP_STATE_FILE = ".setup-state.json"; export declare const SCHEMA_VERSION = "2.0.0"; export declare const DRIFT_SUBDIRS: string[]; //# sourceMappingURL=types.d.ts.map