import { SvelteComponentTyped } from "svelte"; import type { SvelteHTMLElements } from "svelte/elements"; type $RestProps = SvelteHTMLElements["div"]; type $Props = { /** * Specify the accessible name of the conversation, such as "Conversation with Sam" * @default "" */ labelText?: string; /** * Obtain a reference to the scrolling log element. * @default null */ ref?: null | HTMLDivElement; /** ChatMessage and ChatDivider items. */ children?: (this: void) => void; [key: `data-${string}`]: unknown; }; export type ChatLogProps = Omit<$RestProps, keyof $Props> & $Props; export default class ChatLog extends SvelteComponentTyped< ChatLogProps, Record, { /** ChatMessage and ChatDivider items. */ default: Record; } > {}