import Geometry from 'ol/geom/Geometry'; import { AttributeSimpleValue, Item, ValueType } from '../core/model/item.interface'; import { ResultSet } from '../core/model/result-set.interface'; import { Attribute, Class } from '../core/store/class/class.interface'; import { Field } from '../core/store/field/field.interface'; export interface OlFeature { get(key: string): any; } export declare class ItemUtils { static readGeometry(item: Item, type: T, attribute: Attribute | undefined): Geometry; static projectGeometry(geometry: { type: string; coordinates: [number, number] | [number, number][] | [number, number][][] | [number, number][][][]; }): any; static readLocations(item: Item, type: T): T extends 'point' ? [number, number][] : [number, number][][]; private static extractGeometries; static getAttributeValue(item: Item | OlFeature, attribute: Attribute | string | undefined): AttributeSimpleValue | AttributeSimpleValue[]; static getAttributeCalculatedValue(item: Item, attribute: Attribute | string | undefined): ValueType | ValueType[]; static sortAttributes(a: AttributeSimpleValue, b: AttributeSimpleValue): number; static pertinentValue(items: Item[], attr: Attribute): number[]; static isLocation(tuple: any[]): boolean; static getAttributesFromAvailabilityInResultSet(resultSet: ResultSet): string[]; static findInResultSet(resultSet: ResultSet, id: string): Item; static getFieldsFromAvailabilityInResultSet(resultSet: ResultSet, classes: Class[], fields: Field[]): Field[]; static hasLocation(clazz: Class): boolean; static isValidObject(object: Item): boolean | ""; static getAttributesFromRs(resultSet: ResultSet, classes: Class[], fields: Field[], defs?: { [key: string]: string[]; }): Attribute[]; static getAttributesDefinitionForClass(clazz: Class, defs: { [key: string]: string[]; }): string[]; static ensureItemIdHasCorrectFormat(item: Item): Item; static simpleArrayEquals(a: any[], b: any[]): boolean; }