import ServerOgcApi, { OgcApiLinksResponse } from './serverogcapi.js'; import ServerOgc from './serverogc.js'; export declare const oapifNumericTypes: string[]; export declare const oapifTextTypes: string[]; export declare const oapifTemporalTypes: string[]; export declare const oapifPropertyTypesList: readonly string[]; export type oapifPropertyTypes = (typeof oapifPropertyTypesList)[number]; export default class ServerOgcApiFeatures extends ServerOgcApi { constructor(url: string); } export type OapifSchemaResponse = { $id?: string; $schema?: string; title?: string; description?: string; type?: string; properties: Record; }; export type OapifPropertySchema = { 'title'?: string; 'description'?: string; 'type'?: oapifPropertyTypes; 'format'?: string; 'x-ogc-role'?: string; 'x-ogc-propertySeq'?: number; 'readOnly'?: boolean; 'required'?: boolean; 'maxLength'?: number; 'minimum'?: number; 'maximum'?: number; 'enum'?: Array; 'oneOf'?: { const: string; value: string; }[]; 'x-orc-codelistUri'?: string; }; export type OapifCollection = { id: string; title: string; description?: string; links: OgcApiLinksResponse[]; itemType: string; extent?: { spatial: { bbox: number[][]; crs: string; }; }; crs?: string[]; storageCrs?: string; }; export type OapifLayer = { url: string; collectionId: string; collectionTitle: string; displayName: string; crs: string; credentials?: string; geometryType: 'Point' | 'LineString' | 'Polygon' | 'MultiPoint' | 'MultiLineString' | 'MultiPolygon'; attributeName: string; attributeType: string; serverType: string; server: ServerOgc; };