refakts
Version:
TypeScript refactoring tool built for AI coding agents to perform precise refactoring operations via command line instead of requiring complete code regeneration.
23 lines • 759 B
TypeScript
export interface UsageEntry {
command: string;
timestamp: string;
args: string[];
}
export declare class UsageTracker {
private static readonly LOG_FILE;
static logUsage(command: string, args: string[]): void;
static getUsageLog(): UsageEntry[];
static getUsageCounts(): Record<string, number>;
static clearUsageLog(): void;
private static createUsageEntry;
private static writeLogEntry;
private static readLogFile;
private static parseLogContent;
private static getNonEmptyLines;
private static parseLogLines;
private static parseSingleLine;
private static filterValidEntries;
private static removeLogFile;
private static filterPrivateArgs;
}
//# sourceMappingURL=usage-tracker.d.ts.map