import { Component } from "react"; import { ViewProps } from "react-native"; export type Point = $ReadOnly<{ x: Float; y: Float }>; export interface LinearGradientProps extends ViewProps { start?: Point; end?: Point; colors: Array; locations?: Array; useAngle?: boolean; angleCenter?: Point; angle?: Float; } export class LinearGradient extends Component { static defaultProps: { colors: string[]; }; render(): JSX.Element; }