import React from 'react'; import PropTypes from 'prop-types'; import { TextInputProps } from 'react-native'; export interface ComposerProps { composerHeight?: number; text?: string; placeholder?: string; placeholderTextColor?: string; textInputProps?: Partial; textInputStyle?: TextInputProps['style']; textInputAutoFocus?: boolean; keyboardAppearance?: TextInputProps['keyboardAppearance']; multiline?: boolean; disableComposer?: boolean; onTextChanged?(text: string): void; onInputSizeChanged?(layout: { width: number; height: number; }): void; } export declare function Composer({ composerHeight, disableComposer, keyboardAppearance, multiline, onInputSizeChanged, onTextChanged, placeholder, placeholderTextColor, text, textInputAutoFocus, textInputProps, textInputStyle, }: ComposerProps): React.ReactElement; export declare namespace Composer { var propTypes: { composerHeight: PropTypes.Requireable; text: PropTypes.Requireable; placeholder: PropTypes.Requireable; placeholderTextColor: PropTypes.Requireable; textInputProps: PropTypes.Requireable; onTextChanged: PropTypes.Requireable<(...args: any[]) => any>; onInputSizeChanged: PropTypes.Requireable<(...args: any[]) => any>; multiline: PropTypes.Requireable; disableComposer: PropTypes.Requireable; textInputStyle: PropTypes.Requireable>; textInputAutoFocus: PropTypes.Requireable; keyboardAppearance: PropTypes.Requireable; }; }