virtue-cli
Version:
Personal character development CLI tool for tracking virtues and philosophical alignment
16 lines • 698 B
TypeScript
export declare function sleep(ms: number): Promise<void>;
export declare function formatDate(date?: Date): string;
export declare function formatMonth(date?: Date): string;
export declare function formatDateDisplay(date?: Date): string;
export declare function calculateAlignment(want: number, pull: number): number;
export declare function calculateCoherence(scores: Record<string, {
want: number;
pull: number;
}>, weights?: Record<string, number>): number;
export declare function getCoherenceLevel(score: number): {
level: string;
color: string;
icon: string;
};
export declare function validateScore(value: string): string | undefined;
//# sourceMappingURL=helpers.d.ts.map