import * as z from "zod/v3";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
export type Variation = {
    /**
     * The ID of the variation. Leave empty when you are creating a flag.
     */
    id?: string | undefined;
    /**
     * The value of the variation. For boolean flags, this must be <code>true</code> or <code>false</code>. For multivariate flags, this may be a string, number, or JSON object.
     */
    value?: any | undefined;
    /**
     * A deterministic hash of the canonicalized variation <code>value</code>. Computed server-side; ignored if supplied in request bodies.
     */
    valueHash?: string | undefined;
    /**
     * Description of the variation. Defaults to an empty string, but is omitted from the response if not set.
     */
    description?: string | undefined;
    /**
     * A human-friendly name for the variation. Defaults to an empty string, but is omitted from the response if not set.
     */
    name?: string | undefined;
};
/** @internal */
export declare const Variation$inboundSchema: z.ZodType<Variation, z.ZodTypeDef, unknown>;
/** @internal */
export type Variation$Outbound = {
    _id?: string | undefined;
    value?: any | undefined;
    valueHash?: string | undefined;
    description?: string | undefined;
    name?: string | undefined;
};
/** @internal */
export declare const Variation$outboundSchema: z.ZodType<Variation$Outbound, z.ZodTypeDef, Variation>;
export declare function variationToJSON(variation: Variation): string;
export declare function variationFromJSON(jsonString: string): SafeParseResult<Variation, SDKValidationError>;
//# sourceMappingURL=variation.d.ts.map