import { FlexboxProps } from "@lobehub/ui"; import { CSSProperties, ReactNode, Ref } from "react"; interface ChatInputProps extends Omit { classNames?: { body?: string; footer?: string; header?: string; }; defaultHeight?: number; footer?: ReactNode; fullscreen?: boolean; header?: ReactNode; height?: number; maxHeight?: number; minHeight?: number; onBodyClick?: FlexboxProps['onClick']; onSizeChange?: (height: number) => void; onSizeDragging?: (height: number) => void; resize?: boolean; resizeMaxHeightOffset?: number; showResizeHandle?: boolean; /** * Ref attached to the ChatInput root element. Pass the same ref to * ` ref.current}>` to anchor the slash / * mention menu to the ChatInput's outer edges (full-width). */ slashMenuRef?: Ref; styles?: { body?: CSSProperties; footer?: CSSProperties; header?: CSSProperties; }; } export { ChatInputProps };