/** * ID Generation and Hashing Utilities */ import type { Phase, PatternType } from './schema.js'; /** * Generate unique session ID * Format: YYYY-MM-DD-HHmmss-XXXX * * @returns Session ID */ export declare function generateSessionId(): string; /** * Generate pattern ID * Format: {phase}:{type}:{hash} * * @param phase - Phase * @param type - Pattern type * @param content - Pattern content for hashing * @returns Pattern ID */ export declare function generatePatternId(phase: Phase, type: PatternType, content: string): string; /** * Generate cluster ID * Format: cluster-{hash} * * @param patternIds - Pattern IDs in cluster * @returns Cluster ID */ export declare function generateClusterId(patternIds: string[]): string; /** * Hash content using SHA-256 (first 12 chars) * * @param content - Content to hash * @returns Hash string (12 chars) */ export declare function hashContent(content: string): string; /** * Parse pattern ID * * @param id - Pattern ID * @returns Parsed components */ export declare function parsePatternId(id: string): { phase: Phase; type: PatternType; hash: string; } | null; //# sourceMappingURL=generator.d.ts.map