import { Rectangle } from 'cesium'; import React, { SVGProps } from 'react'; import { AnyAction } from 'redux'; import { LayersKeys, Transparency } from '../../state/State'; export interface BooleanLayerButtonState { Icon?: React.FunctionComponent>; text: string; isShowing: boolean; transparency: Transparency | undefined; transparencyLabel?: string; tooltip?: string; hideInactiveTransparency?: boolean; bbox?: Rectangle; } export interface BooleanLayerButtonDispatch { toggleShowing: (val: boolean) => void; setTransparency: (val: Transparency) => void; } export interface BooleanLayerButtonProps { layer: LayersKeys; layerSelector?: string; setTransparency?: (val: 0 | 25 | 50 | 75 | 100) => AnyAction; toggle?: (val: boolean) => AnyAction; Icon?: React.FunctionComponent>; text: string; transparencyLabel?: string; tooltip?: string; hideInactiveTransparency?: boolean; bbox?: Rectangle; } declare const _default: React.ComponentType; export default _default;