import PropTypes from 'prop-types'; import React from 'react'; import { ViewStyle, TextStyle } from 'react-native'; interface SendProps { text?: string; label?: string; containerStyle?: ViewStyle; textStyle?: TextStyle; children?: React.ReactNode; alwaysShowSend?: boolean; disabled?: boolean; onSend?({ text }: { text: string; }, b: boolean): void; } export default function Send({ text, containerStyle, onSend, children, textStyle, label, alwaysShowSend, disabled, }: SendProps): JSX.Element; export default namespace Send { var defaultProps: { text: string; onSend: () => void; label: string; containerStyle: {}; textStyle: {}; children: null; alwaysShowSend: boolean; disabled: boolean; }; var propTypes: { text: PropTypes.Requireable; onSend: PropTypes.Requireable<(...args: any[]) => any>; label: PropTypes.Requireable; containerStyle: PropTypes.Validator> | undefined; textStyle: PropTypes.Requireable; children: PropTypes.Requireable; alwaysShowSend: PropTypes.Requireable; disabled: PropTypes.Requireable; }; } export {};