import type { ComponentProps, ReactNode } from 'react'; import type { StyleProp, TextInputProps, TextStyle, ViewStyle } from 'react-native'; import type { ActionsProps } from './Actions'; import type { ComposerProps } from './Composer'; import Send from './Send'; import type { IMessage } from './Models'; declare type ColorValue = any; declare type SendType = typeof Send; export interface InputToolbarProps { accessoryStyle?: StyleProp; containerStyle?: StyleProp; onPressActionButton?(): void; options?: Record; optionTintColor?: string; placeholderTextColor?: ColorValue; primaryStyle?: StyleProp; renderAccessory?(props: InputToolbarProps): ReactNode; renderActions?(props: ActionsProps): ReactNode; renderComposer?(props: ComposerProps): ReactNode; renderSend?(props: ComponentProps): ReactNode; textInputStyle?: TextInputProps['style']; textStyle?: StyleProp; } declare const InputToolbar: { (props: InputToolbarProps): JSX.Element; defaultProps: { accessoryStyle: {}; containerStyle: {}; onPressActionButton: () => null; options: undefined; optionTintColor: undefined; placeholderTextColor: undefined; primaryStyle: {}; renderAccessory: null; renderActions: null; renderComposer: null; renderSend: null; textInputStyle: undefined; textStyle: undefined; }; }; export default InputToolbar;