geostyler
Version:
Framework for styling geodata
18 lines (17 loc) • 826 B
TypeScript
import { default as React } from 'react';
import { ChannelSelection, ContrastEnhancement } from 'geostyler-style';
import { InputConfig } from '../../../context/GeoStylerContext/GeoStylerContext';
export interface RasterChannelEditorComposableProps {
channelSelectionField?: InputConfig<'rgb' | 'gray'>;
}
export interface RasterChannelEditorInternalProps {
sourceChannelNames?: string[];
onChange?: (channelSelection: ChannelSelection) => void;
channelSelection?: ChannelSelection;
contrastEnhancementTypes?: ContrastEnhancement['enhancementType'][];
}
export type RasterChannelEditorProps = RasterChannelEditorInternalProps & RasterChannelEditorComposableProps;
/**
* RasterChannelEditor to map bands to rgb or grayscale
*/
export declare const RasterChannelEditor: React.FC<RasterChannelEditorProps>;