import { type Snippet } from 'svelte'; interface Props { /** Whether to show timestamps on messages */ showTimestamps?: boolean; /** Whether to auto-scroll to bottom on new messages */ autoScroll?: boolean; /** Whether to enable markdown rendering in messages */ enableMarkdown?: boolean; /** * Whether this surface is permitted to show log messages. * When true, the store's showLogs toggle takes effect. * When false (default), only chat messages are ever shown regardless of the toggle. * Set to true on execution surfaces (e.g. ExecutionConsole); leave false on pure chat surfaces. */ allowLogs?: boolean; /** Render system messages in compact inline form */ compactSystemMessages?: boolean; /** Called when an interrupt is resolved */ onInterruptResolved?: () => void; /** * Called when the user scrolls near the top, to load older messages. * When omitted, scroll-up paging is disabled (e.g. view-only surfaces). */ onLoadOlder?: () => void | Promise; /** Custom render for the no-session welcome state */ welcome?: Snippet; /** Custom render for the empty-session state */ emptySession?: Snippet; } declare const MessageStream: import("svelte").Component; type MessageStream = ReturnType; export default MessageStream;