import type { ReactElement } from 'react'; import type { 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; } declare const Composer: { ({ composerHeight, disableComposer, keyboardAppearance, multiline, onInputSizeChanged, onTextChanged, placeholder, placeholderTextColor, text, textInputAutoFocus, textInputProps, textInputStyle, }: ComposerProps): ReactElement; defaultProps: { composerHeight: number; text: string; placeholderTextColor: string; placeholder: string; textInputProps: null; multiline: boolean; disableComposer: boolean; textInputStyle: {}; textInputAutoFocus: boolean; keyboardAppearance: string; onTextChanged: () => null; onInputSizeChanged: () => null; }; }; export default Composer;