import * as z from "zod";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
export type Four = string | number | boolean;
export type Value = string | number | boolean | Array<string | number | boolean | null>;
export type Six = {
    path: Array<string>;
    value: string | number | boolean | Array<string | number | boolean | null> | null;
};
/**
 * The value to compare the field against. For JSON fields, can be either a JSON object or a {path, value} pair.
 */
export type ConversationsFilterConditionValue = Six | string | boolean | number | Array<string> | {
    [k: string]: any;
};
/** @internal */
export declare const Four$inboundSchema: z.ZodType<Four, z.ZodTypeDef, unknown>;
/** @internal */
export type Four$Outbound = string | number | boolean;
/** @internal */
export declare const Four$outboundSchema: z.ZodType<Four$Outbound, z.ZodTypeDef, Four>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace Four$ {
    /** @deprecated use `Four$inboundSchema` instead. */
    const inboundSchema: z.ZodType<Four, z.ZodTypeDef, unknown>;
    /** @deprecated use `Four$outboundSchema` instead. */
    const outboundSchema: z.ZodType<Four$Outbound, z.ZodTypeDef, Four>;
    /** @deprecated use `Four$Outbound` instead. */
    type Outbound = Four$Outbound;
}
export declare function fourToJSON(four: Four): string;
export declare function fourFromJSON(jsonString: string): SafeParseResult<Four, SDKValidationError>;
/** @internal */
export declare const Value$inboundSchema: z.ZodType<Value, z.ZodTypeDef, unknown>;
/** @internal */
export type Value$Outbound = string | number | boolean | Array<string | number | boolean | null>;
/** @internal */
export declare const Value$outboundSchema: z.ZodType<Value$Outbound, z.ZodTypeDef, Value>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace Value$ {
    /** @deprecated use `Value$inboundSchema` instead. */
    const inboundSchema: z.ZodType<Value, z.ZodTypeDef, unknown>;
    /** @deprecated use `Value$outboundSchema` instead. */
    const outboundSchema: z.ZodType<Value$Outbound, z.ZodTypeDef, Value>;
    /** @deprecated use `Value$Outbound` instead. */
    type Outbound = Value$Outbound;
}
export declare function valueToJSON(value: Value): string;
export declare function valueFromJSON(jsonString: string): SafeParseResult<Value, SDKValidationError>;
/** @internal */
export declare const Six$inboundSchema: z.ZodType<Six, z.ZodTypeDef, unknown>;
/** @internal */
export type Six$Outbound = {
    path: Array<string>;
    value: string | number | boolean | Array<string | number | boolean | null> | null;
};
/** @internal */
export declare const Six$outboundSchema: z.ZodType<Six$Outbound, z.ZodTypeDef, Six>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace Six$ {
    /** @deprecated use `Six$inboundSchema` instead. */
    const inboundSchema: z.ZodType<Six, z.ZodTypeDef, unknown>;
    /** @deprecated use `Six$outboundSchema` instead. */
    const outboundSchema: z.ZodType<Six$Outbound, z.ZodTypeDef, Six>;
    /** @deprecated use `Six$Outbound` instead. */
    type Outbound = Six$Outbound;
}
export declare function sixToJSON(six: Six): string;
export declare function sixFromJSON(jsonString: string): SafeParseResult<Six, SDKValidationError>;
/** @internal */
export declare const ConversationsFilterConditionValue$inboundSchema: z.ZodType<ConversationsFilterConditionValue, z.ZodTypeDef, unknown>;
/** @internal */
export type ConversationsFilterConditionValue$Outbound = Six$Outbound | string | boolean | number | Array<string> | {
    [k: string]: any;
};
/** @internal */
export declare const ConversationsFilterConditionValue$outboundSchema: z.ZodType<ConversationsFilterConditionValue$Outbound, z.ZodTypeDef, ConversationsFilterConditionValue>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace ConversationsFilterConditionValue$ {
    /** @deprecated use `ConversationsFilterConditionValue$inboundSchema` instead. */
    const inboundSchema: z.ZodType<ConversationsFilterConditionValue, z.ZodTypeDef, unknown>;
    /** @deprecated use `ConversationsFilterConditionValue$outboundSchema` instead. */
    const outboundSchema: z.ZodType<ConversationsFilterConditionValue$Outbound, z.ZodTypeDef, ConversationsFilterConditionValue>;
    /** @deprecated use `ConversationsFilterConditionValue$Outbound` instead. */
    type Outbound = ConversationsFilterConditionValue$Outbound;
}
export declare function conversationsFilterConditionValueToJSON(conversationsFilterConditionValue: ConversationsFilterConditionValue): string;
export declare function conversationsFilterConditionValueFromJSON(jsonString: string): SafeParseResult<ConversationsFilterConditionValue, SDKValidationError>;
//# sourceMappingURL=conversationsfilterconditionvalue.d.ts.map