import type { SampleClass } from '../../types/auto-group' export function classKey( c: Pick & { subKind?: string; tokenLength?: number }, ): string { const base = c.subKind ? `${c.kind}:${c.subKind}` : c.kind return c.tokenLength != null ? `${base}#${c.tokenLength}` : base }