UNPKG

@makolabs/ripple

Version:

Simple Svelte 5 powered component library ✨

18 lines (17 loc) 600 B
import type { ChatMessage, VariantColors } from '../index.js'; import type { AIAdapter } from '../adapters/ai/index.js'; interface AIChatInterfaceProps { adapter: AIAdapter; title?: string; subtitle?: string; placeholder?: string; color?: VariantColors; disabled?: boolean; loading?: boolean; messages?: ChatMessage[]; class?: string; context?: Record<string, unknown>; } declare const AIChatInterface: import("svelte").Component<AIChatInterfaceProps, {}, "messages">; type AIChatInterface = ReturnType<typeof AIChatInterface>; export default AIChatInterface;