import React from 'react'; import InfoHelperFactory from 'components/common/info-helper'; import { Layer } from 'layers'; type VisConfigSwitchProps = { layer: Layer; property: string; onChange: (v: Record) => void; label?: string; description?: string; disabled?: boolean; }; declare function VisConfigSwitchFactory(InfoHelper: ReturnType): React.FC; declare namespace VisConfigSwitchFactory { var deps: (typeof InfoHelperFactory)[]; } export default VisConfigSwitchFactory;