import { type GradientDefinition } from '../utils/gradient';
import { type Transition } from '../utils/transition';
export type GradientBaseProps = {
/**
* Whether to animate gradient changes.
*/
animate?: boolean;
/**
* Gradient definition with stops, axis, and other configuration.
*/
gradient: GradientDefinition;
/**
* X-axis ID to use for gradient processing.
* When provided, the gradient will align with the specified x-axis range.
*/
xAxisId?: string;
/**
* Y-axis ID to use for gradient processing.
* When provided, the gradient will align with the specified y-axis range.
* This ensures gradients work correctly when the axis has a custom range configuration.
*/
yAxisId?: string;
};
export type GradientProps = GradientBaseProps & {
/**
* Transition configuration for animation.
* @default defaultTransition
*/
transition?: Transition;
};
/**
* Renders a Skia LinearGradient element based on a GradientDefinition.
* The gradient should be used as a child of a Path component.
*
* @example
*
* {gradient && }
*
*/
export declare const Gradient: import('react').NamedExoticComponent;
//# sourceMappingURL=Gradient.d.ts.map