import type { PropertyCondition, SpatialObject, SpatialQuery, ValidationResult } from '../core/types.js'; /** Does a property value satisfy one condition? Numeric operators fail on values that are not numbers. */ export declare function matchesCondition(value: unknown, c: PropertyCondition): boolean; /** * Does an object satisfy the client-checkable parts of a query (ids, properties filter and conditions, bounds, * relation)? `zoom` and `time` are provider hints and never filter here. * `ontologyType` is not checkable here — objects do not carry their type; providers and subscriptions scope it. * Cheap checks first, exact geometry last (candidate → exact, doc 13). */ export declare function matchesQuery(object: SpatialObject, query: SpatialQuery): boolean; /** * Applies the ranking part of a query: for `nearest`, the `count` closest objects, closest first. * Every other query keeps its order. Call after `matchesQuery` filtering. */ export declare function rankByRelation(objects: SpatialObject[], query: SpatialQuery): SpatialObject[]; /** Checks property conditions (doc §10): known operator, and a value of the shape the operator needs. */ export declare function validateConditions(value: unknown, where?: string): ValidationResult;