import React from 'react'; import { IMessage, VideoRecordingProps } from '../Models'; export declare const isVideoRecordingAvailable: boolean; export interface VideoRecordButtonProps { config?: VideoRecordingProps; onSend?: (message: Partial, shouldResetInputToolbar: boolean) => void; /** * Single tap on the button. Set when the control shares the right slot with * the mic: a tap switches back to voice, a hold opens the recorder. */ onTap?: () => void; /** * `inset` (default) is the small glyph inside the composer field; `round` is * the filled accent circle that occupies the right slot beside it. */ variant?: 'inset' | 'round'; } /** * Camera button for video messages. Prefers react-native-vision-camera for a * Telegram-style round video note recorder; falls back to expo-image-picker's * system camera. Only rendered when one of those is installed. * * Note the two backends produce different messages: the round recorder sends * `{ video, videoNote: true }` (a circular note), while the system-camera * fallback sends a plain `{ video }` full-frame clip, because a rectangular * capture would crop badly into a circle. */ export declare function VideoRecordButton({ config, onSend, onTap, variant, }: VideoRecordButtonProps): React.JSX.Element; //# sourceMappingURL=VideoRecordButton.d.ts.map