1import { PropsWithChildren } from 'react';
2import { ViewProps } from 'react-native';
3
4export type NativeLinearGradientProps = ViewProps &
5  PropsWithChildren<{
6    colors: number[];
7    locations?: number[] | null;
8    startPoint?: NativeLinearGradientPoint | null;
9    endPoint?: NativeLinearGradientPoint | null;
10  }>;
11
12export type getLinearGradientBackgroundImage = (
13  colors: number[],
14  width?: number,
15  height?: number,
16  locations?: number[] | null,
17  startPoint?: NativeLinearGradientPoint | null,
18  endPoint?: NativeLinearGradientPoint | null
19) => string;
20
21export type NativeLinearGradientPoint = [number, number];
22