import * as z from "zod"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type GetDatasetsRequest = { /** * List of futures contract symbols */ symbols?: Array | undefined; /** * Dataset key to which the features belong */ datasetKeys?: Array | undefined; /** * Filter by statistic_type on all features attached to the dataset */ statisticTypes?: Array | undefined; /** * Filter by variable_type on all features attached to the dataset */ variableTypes?: Array | undefined; /** * Filter by source on all features attached to the dataset */ sources?: Array | undefined; /** * Filter by country on all features attached to the dataset */ countries?: Array | undefined; /** * Filter by frequency on all features attached to the dataset */ frequencies?: Array | undefined; /** * Filter by phenology_stage or phenology_phase on all features attached to the dataset */ phenologyStages?: Array | undefined; /** * Maximum number of results to return (required). Maximum is 1000. */ limit: number; /** * Number of results to skip before returning (required) */ offset: number; /** * Search string to match against feature fields. */ search?: string | null | undefined; }; /** @internal */ export declare const GetDatasetsRequest$inboundSchema: z.ZodType; /** @internal */ export type GetDatasetsRequest$Outbound = { symbols?: Array | undefined; dataset_keys?: Array | undefined; statistic_types?: Array | undefined; variable_types?: Array | undefined; sources?: Array | undefined; countries?: Array | undefined; frequencies?: Array | undefined; phenology_stages?: Array | undefined; limit: number; offset: number; search?: string | null | undefined; }; /** @internal */ export declare const GetDatasetsRequest$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace GetDatasetsRequest$ { /** @deprecated use `GetDatasetsRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `GetDatasetsRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `GetDatasetsRequest$Outbound` instead. */ type Outbound = GetDatasetsRequest$Outbound; } export declare function getDatasetsRequestToJSON(getDatasetsRequest: GetDatasetsRequest): string; export declare function getDatasetsRequestFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=getdatasets.d.ts.map