import React from 'react'; import { View } from 'react-native'; declare type Props = { colors: number[]; locations?: number[] | null; startPoint?: Point | null; endPoint?: Point | null; onLayout?: Function; } & React.ComponentProps; declare type State = { width?: number; height?: number; }; declare type Point = [number, number]; export default class NativeLinearGradient extends React.PureComponent { state: { width: undefined; height: undefined; }; onLayout: (event: any) => void; getAngle(): string; getColors(): string; getBackgroundImage(): string | null; render(): JSX.Element; } export {};