import React, { ReactChild } from 'react'; import { ConnectedProps } from 'react-redux'; import { GeoJSON } from 'geojson'; declare const connector: import("react-redux").InferableComponentEnhancerWithProps<{ updateConstraintValues: (index: number, geoJSON: any, filename: string) => void; addCustomLayer: (geoJSON: GeoJSON, filename: string) => void; sendError: (title: string, message: string, debugInfo?: any) => void; }, {}>; declare type ShapefileUploadProps = ConnectedProps & { index?: number; storeTo: 'constraints' | 'customLayers'; children?: ReactChild; }; declare type ShapefileUploadState = { isLoading: boolean; }; declare class ShapefileUpload extends React.Component { constructor(props: ShapefileUploadProps); handleFileUpload(event: any): void; render(): JSX.Element; } declare const _default: import("react-redux").ConnectedComponent & { updateConstraintValues: (index: number, geoJSON: any, filename: string) => void; addCustomLayer: (geoJSON: GeoJSON, filename: string) => void; sendError: (title: string, message: string, debugInfo?: any) => void; } & { index?: number | undefined; storeTo: "constraints" | "customLayers"; children?: string | number | React.ReactElement React.ReactElement React.Component)> | null) | (new (props: any) => React.Component)> | undefined; }, "children" | "index" | "ref" | "storeTo" | "key">>; export default _default; //# sourceMappingURL=ShapefileUpload.d.ts.map