import React from 'react'; import type { EmotionJSX } from '@emotion/react/types/jsx-namespace'; import type { TCommonState } from '../../app/App'; import type { TConfig } from '../../types'; export declare type BarProps = { config: TConfig; topLabels: Array<{ value: number; text: string; }>; bottomLabels: Array<{ value: number; text: string; link?: { linkText: string; linkCallback: (event: React.MouseEvent) => void; }; }>; target: { value: number; }; modalProps: { title: string; children: EmotionJSX.Element; closeModal: () => void; }; open: boolean; }; export declare const BarWithLabels: (props: BarProps) => EmotionJSX.Element; export declare const createBarChartProps: (stateParams: TCommonState, config: TConfig, target: number, barChartModalOpen: boolean, setBarChartModalOpen: React.Dispatch>) => BarProps;