import type { KakaoChat } from './types.js'; export type KakaoChatKind = 'dm' | 'group' | 'open' | 'unknown'; /** * Classify a KakaoTalk chat as `'dm'`, `'group'`, `'open'`, or `'unknown'`. * * REGRESSION GUARD: An earlier implementation hard-coded `0=dm`, `1=group`, * `2=open` on the raw `type` number. Modern KakaoTalk uses codes like `11` * for normal DMs and `10` for normal groups, so the old mapping silently * classified every real DM as `'unknown'` and bucketed it as a group. Do * NOT "simplify" this back to a pure type-code mapping without verifying * against a real KakaoTalk session. * * `'unknown'` is reserved for future protocol drift; the current heuristic * never returns it, but it is part of the union so consumers can handle * the case defensively. */ export declare function classifyKakaoChat(chat: Pick): KakaoChatKind; //# sourceMappingURL=chat-classifier.d.ts.map