/// import { WebViewProps } from 'react-native-webview'; import { EmbedParams } from './utils'; interface OnlyId { tweetId: number | string; tweetUrl?: never; } interface OnlyUrl { tweetId?: never; tweetUrl: string; } declare type OnlyIdOrUrl = OnlyId | OnlyUrl; declare type Props = { theme?: 'dark' | 'light'; interceptPress?: () => void; webViewProps?: WebViewProps; embedParams?: EmbedParams; } & OnlyIdOrUrl; declare const Tweet: (props: Props) => JSX.Element; export default Tweet;