import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { TimePoint, TimePoint$Outbound } from "./timepoint.js"; export type Period = { /** * DEPRECATED - The number of days from now in the past to define upper boundary of time period. * * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. */ minDaysFromNow?: number | undefined; /** * DEPRECATED - The number of days from now in the past to define lower boundary of time period. * * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. */ maxDaysFromNow?: number | undefined; start?: TimePoint | undefined; end?: TimePoint | undefined; }; /** @internal */ export declare const Period$inboundSchema: z.ZodType; /** @internal */ export type Period$Outbound = { minDaysFromNow?: number | undefined; maxDaysFromNow?: number | undefined; start?: TimePoint$Outbound | undefined; end?: TimePoint$Outbound | undefined; }; /** @internal */ export declare const Period$outboundSchema: z.ZodType; export declare function periodToJSON(period: Period): string; export declare function periodFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=period.d.ts.map