import type { estypes } from "@elastic/elasticsearch"; import type { FieldsOfType } from "../fields.js"; import type { MappingObject } from "./search-query.js"; import type { GeoShapeValue } from "../mapping.js"; export type ShapeQuery = Shape; export interface Shape { shape: { [field in FieldsOfType]?: ShapeField | boolean | estypes.float | string; }; } interface ShapeField { indexed_shape?: estypes.QueryDslFieldLookup; relation?: estypes.GeoShapeRelation; shape?: GeoShapeValue; } export {}; //# sourceMappingURL=shape-query.d.ts.map