import type { AreaSceneNode } from "../types";
type ResolvedAreaGradient = NonNullable<AreaSceneNode["fillGradient"]>;
type OpacityGradient = {
    topOpacity: number;
    bottomOpacity: number;
};
type ColorStopGradient = {
    colorStops: Array<{
        offset: number;
        color: string;
    }>;
};
type OpacityGradientConfig = {
    topOpacity?: number;
    bottomOpacity?: number;
};
export type AreaGradientConfig = boolean | OpacityGradientConfig | ColorStopGradient;
export declare const DEFAULT_AREA_GRADIENT: OpacityGradient;
export declare function resolveAreaGradient(gradient: AreaGradientConfig | undefined): ResolvedAreaGradient | undefined;
export {};
