UNPKG

@kitn.ai/chat

Version:

Framework-agnostic, Shadow-DOM web components for building AI chat interfaces — works in React, Vue, Angular, Svelte, or plain HTML. Authored in SolidJS.

5 lines (4 loc) 316 B
/** Contract versions are decimal integer strings ('1','2',…). */ export declare function isValidVersion(s: string): boolean; /** Highest version both sides support; null if disjoint or any candidate is malformed. */ export declare function negotiateVersion(hostVersions: string[], mine: string[]): string | null;