import React from 'react'; import { TextInputProps } from 'react-native'; import { IMessage } from './Models'; export interface ComposerProps { composerHeight?: number; text?: string; textInputProps?: Partial; /** * Whether the field accepts multiple lines. * * `true` (default) keeps the return key inserting a newline - send with the * send button. `false` turns the return key into Send, which is what a * single-line composer should do. Previously the field was always multiline * with no submit handler, so the return key could never send at all. */ isMultiline?: boolean; /** Allow sending an empty message (media-only sends). */ isTextOptional?: boolean; onSend?(messages: Partial | Partial[], shouldResetInputToolbar: boolean): void; } export declare function Composer({ text, textInputProps, isMultiline, isTextOptional, onSend, }: ComposerProps): React.ReactElement; //# sourceMappingURL=Composer.d.ts.map