import * as z from "zod/v3";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
import { ParameterRep, ParameterRep$Outbound } from "./parameterrep.js";
export type TreatmentRep = {
    /**
     * The treatment ID. This is the variation ID from the flag.
     */
    id?: string | undefined;
    /**
     * The treatment name. This is the variation name from the flag.
     */
    name: string;
    /**
     * The percentage of traffic allocated to this treatment during the iteration
     */
    allocationPercent: string;
    /**
     * Whether this treatment is the baseline to compare other treatments against
     */
    baseline?: boolean | undefined;
    /**
     * Details on the flag and variation used for this treatment
     */
    parameters?: Array<ParameterRep> | undefined;
};
/** @internal */
export declare const TreatmentRep$inboundSchema: z.ZodType<TreatmentRep, z.ZodTypeDef, unknown>;
/** @internal */
export type TreatmentRep$Outbound = {
    _id?: string | undefined;
    name: string;
    allocationPercent: string;
    baseline?: boolean | undefined;
    parameters?: Array<ParameterRep$Outbound> | undefined;
};
/** @internal */
export declare const TreatmentRep$outboundSchema: z.ZodType<TreatmentRep$Outbound, z.ZodTypeDef, TreatmentRep>;
export declare function treatmentRepToJSON(treatmentRep: TreatmentRep): string;
export declare function treatmentRepFromJSON(jsonString: string): SafeParseResult<TreatmentRep, SDKValidationError>;
//# sourceMappingURL=treatmentrep.d.ts.map