import { type JSX, type ParentProps, type ValidComponent } from 'solid-js'; import { type TextAreaProps } from '@conciv/ui-kit-system'; import type { WebStorage } from '@conciv/storage-history'; import { type AttachmentAdapter } from '../attachment/attachment-adapter.js'; import { type QueuedMessage } from '../queue-item/queue-item.js'; type FormProps = JSX.HTMLAttributes & { attachmentAdapter?: AttachmentAdapter; draftStorage?: WebStorage; draftKey?: string; }; declare function Root(props: FormProps): JSX.Element; type InputProps = TextAreaProps & { submitMode?: 'enter' | 'ctrlEnter' | 'none'; cancelOnEscape?: boolean; focusOnRunStart?: boolean; focusOnThreadSwitched?: boolean; addAttachmentOnPaste?: boolean; }; declare function Input(props: InputProps): JSX.Element; declare function Send(props: JSX.ButtonHTMLAttributes): JSX.Element; declare function Cancel(props: JSX.ButtonHTMLAttributes): JSX.Element; type AddAttachmentProps = JSX.ButtonHTMLAttributes & { multiple?: boolean; accept?: string; }; declare function AddAttachment(props: AddAttachmentProps): JSX.Element; type AttachmentsProps = { component?: ValidComponent; }; declare function Attachments(props: AttachmentsProps): JSX.Element; type DropzoneProps = JSX.HTMLAttributes & { disabled?: boolean; }; declare function AttachmentDropzone(props: DropzoneProps): JSX.Element; declare function If(props: ParentProps<{ editing?: boolean; dictation?: boolean; }>): JSX.Element; declare function Quote(props: JSX.HTMLAttributes): JSX.Element; declare function QuoteDismiss(props: JSX.ButtonHTMLAttributes): JSX.Element; declare function DictationTranscript(props: JSX.HTMLAttributes): JSX.Element; declare function Queue(props: { children: (item: () => QueuedMessage) => JSX.Element; }): JSX.Element; export declare const Composer: typeof Root & { Root: typeof Root; Input: typeof Input; Send: typeof Send; Cancel: typeof Cancel; AddAttachment: typeof AddAttachment; Attachments: typeof Attachments; AttachmentDropzone: typeof AttachmentDropzone; If: typeof If; Quote: typeof Quote; QuoteDismiss: typeof QuoteDismiss; Dictate: (props: import("../util/create-action-button.js").ActionButtonProps>) => JSX.Element; StopDictation: (props: import("../util/create-action-button.js").ActionButtonProps>) => JSX.Element; DictationTranscript: typeof DictationTranscript; Queue: typeof Queue; }; export {}; //# sourceMappingURL=composer.d.ts.map