import { Component, ReactElement } from 'react';
import { GradientStop, GradientStopProps } from './GradientStop';
export interface GradientProps {
    id: string;
    stops: ReactElement<GradientStopProps, typeof GradientStop>[];
    color?: string;
    direction: 'vertical' | 'horizontal';
}
export declare class Gradient extends Component<GradientProps> {
    static defaultProps: Partial<GradientProps>;
    getDirection(): {
        x1: string;
        x2: string;
        y1: string;
        y2: string;
    };
    render(): JSX.Element;
}
