UNPKG

ccguard

Version:

Automated enforcement of net-negative LOC, complexity constraints, and quality standards for Claude code

18 lines 877 B
import { SessionStats, GuardState, HotConfig, OperationHistory, LockedFiles } from '../contracts'; export interface Storage { getSessionStats(): Promise<SessionStats | null>; saveSessionStats(stats: SessionStats): Promise<void>; getGuardState(): Promise<GuardState | null>; saveGuardState(state: GuardState): Promise<void>; getHotConfig(): Promise<HotConfig | null>; saveHotConfig(config: HotConfig): Promise<void>; getOperationHistory(): Promise<OperationHistory | null>; saveOperationHistory(history: OperationHistory): Promise<void>; getLockedFiles(): Promise<LockedFiles | null>; saveLockedFiles(lockedFiles: LockedFiles): Promise<void>; get(key: string): Promise<any>; set(key: string, value: any): Promise<void>; delete(key: string): Promise<void>; clearAll(): Promise<void>; } //# sourceMappingURL=Storage.d.ts.map