/** * @fileoverview Aggregate GBIF occurrence counts by a facet dimension. * @module mcp-server/tools/definitions/gbif-occurrence-facets */ import { z } from '@cyanheads/mcp-ts-core'; import { JsonRpcErrorCode } from '@cyanheads/mcp-ts-core/errors'; export declare const gbifOccurrenceFacets: import("@cyanheads/mcp-ts-core").ToolDefinition; taxonKey: z.ZodOptional; country: z.ZodOptional; publishingCountry: z.ZodOptional; stateProvince: z.ZodOptional; year: z.ZodOptional; basisOfRecord: z.ZodOptional>; geometry: z.ZodOptional; datasetKey: z.ZodOptional; occurrenceStatus: z.ZodDefault>; iucnRedListCategory: z.ZodOptional>; facetLimit: z.ZodDefault; facetOffset: z.ZodDefault; }, z.core.$strip>, z.ZodObject<{ facet: z.ZodString; totalOccurrences: z.ZodNumber; counts: z.ZodArray>; }, z.core.$strip>, readonly [{ readonly reason: "invalid_filter"; readonly code: JsonRpcErrorCode.InvalidParams; readonly when: "A scope filter was supplied blank or whitespace-only, datasetKey is not an 8-4-4-4-12 hex UUID, a two-letter country or publishingCountry code is one GBIF does not know, or GBIF rejected the geometry or year scope as malformed."; readonly recovery: "The message names the rejected value. A blank scope filter is not a way to skip one — omit the field instead. Otherwise correct that one filter: geometry is a closed WKT ring in longitude latitude order, year is a single year or \"min,max\", datasetKey is a UUID from gbif_search_datasets, and country and publishingCountry are codes GBIF assigns, so take one from a COUNTRY or PUBLISHING_COUNTRY facet."; }], { readonly facetLimit: z.ZodNumber; readonly facetOffset: z.ZodNumber; readonly truncated: z.ZodOptional; readonly shown: z.ZodOptional; readonly cap: z.ZodOptional; readonly occurrenceStatus: z.ZodString; readonly notice: z.ZodOptional; }>; //# sourceMappingURL=gbif-occurrence-facets.tool.d.ts.map