import React from 'react'; import LayerConfigGroupFactory from './layer-config-group'; import RangeSliderFactory from 'components/common/range-slider'; import { LayerTextLabel } from 'layers/layer-factory'; import FieldSelectorFactory from '../../common/field-selector'; import { Field } from 'utils/table-utils/kepler-table'; import ColorSelectorFactory from './color-selector'; type TextLabelPanelProps = { fields: Field[]; textLabel: LayerTextLabel[]; updateLayerTextLabel: (idx: number | 'all', prop: string, value: any) => void; AddButton?: React.ReactNode; }; declare function TextLabelPanelFactory(RangeSlider: ReturnType, LayerConfigGroup: ReturnType, FieldSelector: ReturnType, ColorSelector: ReturnType): React.ComponentType; declare namespace TextLabelPanelFactory { var deps: (typeof RangeSliderFactory | typeof LayerConfigGroupFactory | typeof FieldSelectorFactory | typeof ColorSelectorFactory)[]; } export default TextLabelPanelFactory;