import * as z from "zod"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; /** * Number of days to forecast. */ export type Horizon = number | string; export type ForecastTrajectorySpec = { /** * Specific model to use for forecast window. */ model: string; /** * Number of days to forecast. */ horizon: number | string; }; /** @internal */ export declare const Horizon$inboundSchema: z.ZodType; /** @internal */ export type Horizon$Outbound = number | string; /** @internal */ export declare const Horizon$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 Horizon$ { /** @deprecated use `Horizon$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `Horizon$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `Horizon$Outbound` instead. */ type Outbound = Horizon$Outbound; } export declare function horizonToJSON(horizon: Horizon): string; export declare function horizonFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const ForecastTrajectorySpec$inboundSchema: z.ZodType; /** @internal */ export type ForecastTrajectorySpec$Outbound = { model: string; horizon: number | string; }; /** @internal */ export declare const ForecastTrajectorySpec$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 ForecastTrajectorySpec$ { /** @deprecated use `ForecastTrajectorySpec$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `ForecastTrajectorySpec$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `ForecastTrajectorySpec$Outbound` instead. */ type Outbound = ForecastTrajectorySpec$Outbound; } export declare function forecastTrajectorySpecToJSON(forecastTrajectorySpec: ForecastTrajectorySpec): string; export declare function forecastTrajectorySpecFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=forecasttrajectoryspec.d.ts.map