import type { HTMLTextareaAttributes } from 'svelte/elements';
type ChatInputVariant = 'default' | 'chat';
type SubmitMode = 'modEnter' | 'enter';
type Props = {
value?: string;
placeholder?: string;
disabled?: boolean;
maxLines?: number;
maxChars?: number;
ariaLabel?: string;
autocomplete?: HTMLTextareaAttributes['autocomplete'];
spellcheck?: boolean;
inputClass?: string;
variant?: ChatInputVariant;
submitMode?: SubmitMode;
onInput?: (detail: {
value: string;
isExpanded?: boolean;
}) => void;
onLayoutChange?: (detail: {
value: string;
isExpanded: boolean;
}) => void;
onSubmit?: (detail: {
value: string;
}) => void;
onPaste?: (event: ClipboardEvent) => void;
};
declare const ChatInput: import("svelte").Component;
type ChatInput = ReturnType;
export default ChatInput;