import { type InternalAgColorType, type RequiredInternalAgColorType, type RequiredInternalAgGradientColor, type RequiredInternalAgImageFill, type RequiredInternalAgPatternColor } from 'ag-charts-core';
import type { BBox } from '../../scene/bbox';
import type { Shape } from '../../scene/shape/shape';
export type ShapeStyle = Partial<Pick<Shape, 'fill' | 'fillOpacity' | 'stroke' | 'strokeOpacity' | 'strokeWidth' | 'lineDash' | 'lineDashOffset' | 'opacity'>>;
export interface ShapeFillBBox {
    series: BBox;
    axis: BBox;
}
export declare function getShapeFill(fill: InternalAgColorType, defaultGradient: RequiredInternalAgGradientColor, defaultPattern: RequiredInternalAgPatternColor, defaultImage: RequiredInternalAgImageFill): RequiredInternalAgColorType;
export declare function getShapeFill(fill: InternalAgColorType | undefined, defaultGradient: RequiredInternalAgGradientColor, defaultPattern: RequiredInternalAgPatternColor, defaultImage: RequiredInternalAgImageFill): RequiredInternalAgColorType | undefined;
export declare function getShapeStyle<T extends {
    fill?: InternalAgColorType;
}>(style: T, defaultGradient: RequiredInternalAgGradientColor, defaultPattern: RequiredInternalAgPatternColor, defaultImage: RequiredInternalAgImageFill): T;
export declare function getShapeStyle<T extends {
    fill?: InternalAgColorType;
}>(style: T | undefined, defaultGradient: RequiredInternalAgGradientColor, defaultPattern: RequiredInternalAgPatternColor, defaultImage: RequiredInternalAgImageFill): T | undefined;
