UNPKG

@copilotkit/react-core

Version:

<img src="https://github.com/user-attachments/assets/0a6b64d9-e193-4940-a3f6-60334ac34084" alt="banner" style="border-radius: 12px; border: 2px solid #d6d4fa;" />

18 lines (15 loc) 448 B
import { Severity } from '@copilotkit/shared'; type Status = { severity: Severity; message: string; }; declare class StatusChecker { private activeKey; private intervalId; private instanceCount; private lastResponse; start(publicApiKey: string, onUpdate?: (status: Status | null) => void): Promise<Status | null | undefined>; getLastResponse(): Status | null; stop(): void; } export { Status, StatusChecker };