import React from "react"; import { Question } from "survey-core"; import { SurveyQuestionElementBase } from "survey-react-ui"; declare const CUSTOM_TYPE = "map-grid-selector"; import { CellPrecision } from "../services/unl.service"; type GridCell = { geoId: string; latitude: number; longitude: number; gridPrecision: CellPrecision; placeIdentifier?: string; placeName?: string; placeDistance?: string; postalAddressName?: string; countryCode?: string; countryName?: string; stateCode?: string; stateName?: string; countyCode?: string; countyName?: string; cityName?: string; districtName?: string; subDistrictName?: string; blockName?: string; subBlockName?: string; roadName?: string; roadType?: string; postalCode?: string; houseName?: string; houseNumber?: string; }; type SelectedCellsValue = GridCell | GridCell[] | null; export declare class QuestionMapGridSelectorModel extends Question { getType(): string; isEmpty(): boolean; get center(): [number, number]; set center(val: [number, number]); get minZoom(): number; set minZoom(val: number); get maxZoom(): number; set maxZoom(val: number); get focusOnUser(): boolean; set focusOnUser(val: boolean); get allowMultiple(): boolean; set allowMultiple(val: boolean); get basemapToggle(): boolean; set basemapToggle(val: boolean); get autoPrecision(): boolean; set autoPrecision(val: boolean); get gridPrecision(): CellPrecision; set gridPrecision(val: CellPrecision); get capturePlaceIdentifier(): boolean; set capturePlaceIdentifier(val: boolean); get capturePlaceName(): boolean; set capturePlaceName(val: boolean); get capturePlaceDistance(): boolean; set capturePlaceDistance(val: boolean); get capturePostalAddressName(): boolean; set capturePostalAddressName(val: boolean); get captureCountryCode(): boolean; set captureCountryCode(val: boolean); get captureCountryName(): boolean; set captureCountryName(val: boolean); get captureStateCode(): boolean; set captureStateCode(val: boolean); get captureStateName(): boolean; set captureStateName(val: boolean); get captureCountyCode(): boolean; set captureCountyCode(val: boolean); get captureCountyName(): boolean; set captureCountyName(val: boolean); get captureCityName(): boolean; set captureCityName(val: boolean); get captureDistrictName(): boolean; set captureDistrictName(val: boolean); get captureSubDistrictName(): boolean; set captureSubDistrictName(val: boolean); get captureBlockName(): boolean; set captureBlockName(val: boolean); get captureSubBlockName(): boolean; set captureSubBlockName(val: boolean); get captureRoadName(): boolean; set captureRoadName(val: boolean); get captureRoadType(): boolean; set captureRoadType(val: boolean); get capturePostalCode(): boolean; set capturePostalCode(val: boolean); get captureHouseName(): boolean; set captureHouseName(val: boolean); get captureHouseNumber(): boolean; set captureHouseNumber(val: boolean); } export declare class SurveyQuestionMapGridSelector extends SurveyQuestionElementBase { constructor(props: any); get question(): Question; get value(): SelectedCellsValue; private createGridCellData; private handleFeatureCollectionClick; get style(): React.CSSProperties; private renderSelectedCellsSummary; private renderCapturedFieldsForCell; renderElement(): import("react/jsx-runtime").JSX.Element; } export declare function registerMapGridSelectorCreator(): void; export { CUSTOM_TYPE }; //# sourceMappingURL=MapGridSelector.d.ts.map