import React from 'react'; import { StyleProp, ViewStyle, TextStyle } from 'react-native'; import { ActionsProps } from './Actions'; import { AttachmentAction } from './components/AttachmentSheet'; import { ReplyPreviewProps } from './components/ReplyPreview'; import { ComposerProps } from './Composer'; import { AudioRecordingProps, IMessage, ReplyMessage, VideoRecordingProps } from './Models'; import { SendProps } from './Send'; export type { ReplyPreviewProps } from './components/ReplyPreview'; export interface InputToolbarProps { actions?: AttachmentAction[]; actionSheetOptionTintColor?: string; containerStyle?: StyleProp; primaryStyle?: StyleProp; renderAccessory?: (props: InputToolbarProps) => React.ReactNode; renderActions?: (props: ActionsProps) => React.ReactNode; renderSend?: (props: SendProps) => React.ReactNode; renderComposer?: (props: ComposerProps) => React.ReactNode; onPressActionButton?: () => void; icon?: () => React.ReactNode; wrapperStyle?: StyleProp; /** Reply message to show in preview */ replyMessage?: ReplyMessage | null; /** Callback to clear reply */ onClearReply?: () => void; /** Custom render for reply preview */ renderReplyPreview?: (props: ReplyPreviewProps) => React.ReactNode; /** Style for reply preview container */ replyPreviewContainerStyle?: StyleProp; /** Style for reply preview text */ replyPreviewTextStyle?: StyleProp; /** Telegram-style hold-to-record voice messages (needs optional expo-audio) */ audioRecording?: AudioRecordingProps; /** Record-and-send video messages (needs optional expo-image-picker) */ videoRecording?: VideoRecordingProps; /** Force-show the send button even when the composer is empty */ isSendButtonAlwaysVisible?: boolean; /** Current composer text (used to swap the send button for the mic button) */ text?: string; /** Show an emoji button inset on the left of the field; called on press. */ onPressEmoji?: () => void; /** * Whether the composer accepts multiple lines. `true` (default) keeps the * return key inserting a newline; `false` turns it into Send. */ isMultiline?: boolean; } export declare function InputToolbar(props: InputToolbarProps): React.JSX.Element; //# sourceMappingURL=InputToolbar.d.ts.map