1import React from 'react';
2import { View } from 'react-native';
3declare type Props = {
4    colors: number[];
5    locations?: number[] | null;
6    startPoint?: Point | null;
7    endPoint?: Point | null;
8    onLayout?: Function;
9} & React.ComponentProps<typeof View>;
10declare type State = {
11    width?: number;
12    height?: number;
13};
14declare type Point = [number, number];
15export default class NativeLinearGradient extends React.PureComponent<Props, State> {
16    state: {
17        width: undefined;
18        height: undefined;
19    };
20    onLayout: (event: any) => void;
21    getAngle(): string;
22    getColors(): string;
23    getBackgroundImage(): string | null;
24    render(): JSX.Element;
25}
26export {};
27