Skip to content

armgit / cindy

Public Imported from GitHub
0

Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。

632 B
Raw Blame
import { requireOptionalNativeModule } from 'expo-modules-core';
export interface ChatNotificationsNative {
  configure(owner: string, actor: string, baseUrl: string, accessToken: string, title: string, stopLabel: string, preview: boolean, language?: string): Promise<void>;
  stop(): Promise<void>;
  isPaused(): Promise<boolean>;
  resume(): Promise<void>;
  setIdentity(actor: string): Promise<void>;
  setPreview(enabled: boolean): Promise<void>;
  addListener(event: 'refreshRequested', listener: () => void): { remove(): void };
}
export default requireOptionalNativeModule<ChatNotificationsNative>('CindyChatNotifications');