import type { Snippet } from "svelte"; import type { HTMLAttributes } from "svelte/elements"; import { type ChatMessageRole, type ChatMessageStatus } from "./ChatMessage.svelte"; export type ChatThreadMessage = { id: string; role?: ChatMessageRole; content: string; status?: ChatMessageStatus; }; type ChatThreadProps = Omit, "class" | "aria-label"> & { label: string; autoScroll?: boolean; /** * Data-driven messages (cross-framework parity with React/Vue). When * provided, each entry is rendered internally as a `ChatMessage`. The * canonical `children` slot still works; `messages` takes precedence when * both are supplied. */ messages?: ChatThreadMessage[]; class?: string; children?: Snippet; emptyState?: Snippet; }; declare const ChatThread: import("svelte").Component; type ChatThread = ReturnType; export default ChatThread; //# sourceMappingURL=ChatThread.svelte.d.ts.map