import BaseFoundation, { DefaultAdapter } from "../base/foundation"; export interface InputBoxAdapter

, S = Record> extends DefaultAdapter { notifyInputChange: (props: { inputValue: string; attachment: any[]; }) => void; setInputValue: (value: string) => void; setAttachment: (attachment: any[]) => void; notifySend: (content: string, attachment: any[]) => void; } export default class InputBoxFoundation

, S = Record> extends BaseFoundation, P, S> { constructor(adapter: InputBoxAdapter); onInputAreaChange: (value: string) => void; onAttachmentAdd: (props: any) => void; onAttachmentDelete: (props: any) => void; onSend: (e: any) => void; getDisableSend: () => any; onEnterPress: (e: any) => void; onPaste: (e: any) => void; }