import React from 'react'; import { Color } from '@harnessio/design-system'; export declare enum LabelPosition { LEFT = "LabelPosition.LEFT", RIGHT = "LabelPosition.RIGHT", TOP = "LabelPosition.TOP", BOTTOM = "LabelPosition.BOTTOM", INSIDE = "LabelPosition.INSIDE" } export interface WeightedStackData { label: string; value: number; color?: Color; } export interface WeightedStackPropsCommon { data: WeightedStackData[]; stackStyles?: string; progressBarStyles?: string; labelStyles?: string; } interface InlineLabelPosition extends WeightedStackPropsCommon { labelPosition: LabelPosition.LEFT | LabelPosition.RIGHT; labelWidth: string; } interface NonInlineLabelPosition extends WeightedStackPropsCommon { labelPosition?: LabelPosition.TOP | LabelPosition.BOTTOM | LabelPosition.INSIDE; } export declare type WeightedStackProps = InlineLabelPosition | NonInlineLabelPosition; export declare const WeightedStack: React.FC; export {};