import type { ISpatialReference } from "@esri/arcgis-rest-feature-service";
import { IHubLocationType } from "./types";
import { HubEntityType } from "./HubEntityType";
import { IGeometryInstance } from "./IGeometryInstance";
/**
 * A location associated with an item and stored as a json resource.
 */
export interface IHubLocation {
    type: IHubLocationType;
    spatialReference?: ISpatialReference;
    extent?: number[][];
    /** array of[geometries](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Geometry.html) representing the location */
    geometries?: Array<Partial<IGeometryInstance>>;
    /** The name of the location */
    name?: string;
}
/**
 * Location options for the location picker
 */
export interface IHubLocationOption {
    /** Whether or not this option is selected initially */
    selected?: boolean;
    label: string;
    description?: string;
    location: IHubLocation;
    entityType?: HubEntityType;
}
