import * as z from "zod/v3"; import { ClosedEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { DigestTimedConfigDto } from "./digesttimedconfigdto.js"; import { DigestTypeEnum } from "./digesttypeenum.js"; import { DigestUnitEnum } from "./digestunitenum.js"; /** * Unit of the digest */ export declare const DigestMetadataDtoUnit: { readonly Seconds: "seconds"; readonly Minutes: "minutes"; readonly Hours: "hours"; readonly Days: "days"; readonly Weeks: "weeks"; readonly Months: "months"; }; /** * Unit of the digest */ export type DigestMetadataDtoUnit = ClosedEnum; export type DigestMetadataDto = { /** * Optional key for the digest */ digestKey?: string | undefined; /** * Amount for the digest */ amount?: number | undefined; /** * Unit of the digest */ unit?: DigestMetadataDtoUnit | undefined; /** * The Digest Type */ type: DigestTypeEnum; /** * Optional array of events associated with the digest, represented as key-value pairs */ events?: Array<{ [k: string]: any; }> | undefined; /** * Regular digest: Indicates if backoff is enabled for the regular digest */ backoff?: boolean | undefined; /** * Regular digest: Amount for backoff */ backoffAmount?: number | undefined; /** * Regular digest: Unit for backoff */ backoffUnit?: DigestUnitEnum | undefined; /** * Regular digest: Indicates if the digest should update */ updateMode?: boolean | undefined; /** * Configuration for timed digest */ timed?: DigestTimedConfigDto | undefined; }; /** @internal */ export declare const DigestMetadataDtoUnit$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const DigestMetadataDto$inboundSchema: z.ZodType; export declare function digestMetadataDtoFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=digestmetadatadto.d.ts.map