import { ClosedEnum } from "../../types/enums.js"; import * as z from "zod"; export declare const ExperimentOverridesDtoType: { readonly Gate: "gate"; readonly Segment: "segment"; }; export type ExperimentOverridesDtoType = ClosedEnum; export type Overrides = { type: ExperimentOverridesDtoType; /** * The id of the segment or gate */ id: string; /** * The experiment group which user will be forced into */ groupID: string; }; export type UserIDOverrides = { /** * The experiment group the user will be forced into. */ groupID: string; /** * Array of user IDs to be assigned to the specified experiment group. */ ids: Array; /** * Optional environment designation (e.g., production, staging) for the experiment. */ environment?: any | null | undefined; /** * Optional type of unit for the experiment, defining the scope of the override. */ unitType?: any | null | undefined; }; export type ExperimentOverridesDto = { /** * Array of experiment overrides, each specifying type, ID, and group ID. */ overrides: Array; /** * Array of user ID overrides, specifying which users to force into experiment groups. */ userIDOverrides: Array; }; /** @internal */ export declare const ExperimentOverridesDtoType$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const ExperimentOverridesDtoType$outboundSchema: z.ZodNativeEnum; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace ExperimentOverridesDtoType$ { /** @deprecated use `ExperimentOverridesDtoType$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly Gate: "gate"; readonly Segment: "segment"; }>; /** @deprecated use `ExperimentOverridesDtoType$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly Gate: "gate"; readonly Segment: "segment"; }>; } /** @internal */ export declare const Overrides$inboundSchema: z.ZodType; /** @internal */ export type Overrides$Outbound = { type: string; id: string; groupID: string; }; /** @internal */ export declare const Overrides$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 Overrides$ { /** @deprecated use `Overrides$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `Overrides$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `Overrides$Outbound` instead. */ type Outbound = Overrides$Outbound; } /** @internal */ export declare const UserIDOverrides$inboundSchema: z.ZodType; /** @internal */ export type UserIDOverrides$Outbound = { groupID: string; ids: Array; environment?: any | null | undefined; unitType?: any | null | undefined; }; /** @internal */ export declare const UserIDOverrides$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 UserIDOverrides$ { /** @deprecated use `UserIDOverrides$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `UserIDOverrides$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `UserIDOverrides$Outbound` instead. */ type Outbound = UserIDOverrides$Outbound; } /** @internal */ export declare const ExperimentOverridesDto$inboundSchema: z.ZodType; /** @internal */ export type ExperimentOverridesDto$Outbound = { overrides: Array; userIDOverrides: Array; }; /** @internal */ export declare const ExperimentOverridesDto$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 ExperimentOverridesDto$ { /** @deprecated use `ExperimentOverridesDto$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `ExperimentOverridesDto$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `ExperimentOverridesDto$Outbound` instead. */ type Outbound = ExperimentOverridesDto$Outbound; } //# sourceMappingURL=experimentoverridesdto.d.ts.map