import { Dataset } from "@dclimate/jaxray"; /** * Selects data points within a rectangular bounding box region * * @param dataset - The jaxray Dataset to filter * @param minLat - Southern latitude boundary in decimal degrees * @param minLon - Western longitude boundary in decimal degrees * @param maxLat - Northern latitude boundary in decimal degrees * @param maxLon - Eastern longitude boundary in decimal degrees * @param options - Configuration options * @param options.latitudeKey - Name of latitude coordinate (default: "latitude") * @param options.longitudeKey - Name of longitude coordinate (default: "longitude") * @returns A new Dataset with data within the specified rectangular region * @throws InvalidSelectionError if boundaries are invalid or coordinates not found * * @example * ```typescript * const data = await Dataset.open_zarr(store); * // Get all data within a rectangle * const result = await rectangle(data, 40.0, -75.0, 41.0, -74.0); * ``` */ export declare function rectangle(dataset: Dataset, minLat: number, minLon: number, maxLat: number, maxLon: number, options?: { latitudeKey?: string; longitudeKey?: string; }): Promise; //# sourceMappingURL=rectangle.d.ts.map