import * as z from "zod/v3";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
import { FilterOperator } from "./filteroperator.js";
import { SemanticThreadField } from "./semanticthreadfield.js";
export type SemanticThreadFilterConditionValueValue4 = string | number | boolean;
export type SemanticThreadFilterConditionValueValue = string | number | boolean | Array<string | number | boolean | null>;
export type SemanticThreadFilterConditionValue7 = {
    path: Array<string>;
    value: string | number | boolean | Array<string | number | boolean | null> | null;
};
export type SemanticThreadFilterConditionCondition = {
    /**
     * Available fields for SemanticThread
     */
    field: SemanticThreadField;
    /**
     * Available operators for filtering data
     */
    operator: FilterOperator;
    /**
     * The value to compare the field against. For JSON fields, can be either a JSON object or a {path, value} pair.
     */
    value?: any | undefined;
};
export type SemanticThreadFilterCondition = {
    condition: SemanticThreadFilterConditionCondition;
};
/** @internal */
export declare const SemanticThreadFilterConditionValueValue4$inboundSchema: z.ZodType<SemanticThreadFilterConditionValueValue4, z.ZodTypeDef, unknown>;
/** @internal */
export type SemanticThreadFilterConditionValueValue4$Outbound = string | number | boolean;
/** @internal */
export declare const SemanticThreadFilterConditionValueValue4$outboundSchema: z.ZodType<SemanticThreadFilterConditionValueValue4$Outbound, z.ZodTypeDef, SemanticThreadFilterConditionValueValue4>;
export declare function semanticThreadFilterConditionValueValue4ToJSON(semanticThreadFilterConditionValueValue4: SemanticThreadFilterConditionValueValue4): string;
export declare function semanticThreadFilterConditionValueValue4FromJSON(jsonString: string): SafeParseResult<SemanticThreadFilterConditionValueValue4, SDKValidationError>;
/** @internal */
export declare const SemanticThreadFilterConditionValueValue$inboundSchema: z.ZodType<SemanticThreadFilterConditionValueValue, z.ZodTypeDef, unknown>;
/** @internal */
export type SemanticThreadFilterConditionValueValue$Outbound = string | number | boolean | Array<string | number | boolean | null>;
/** @internal */
export declare const SemanticThreadFilterConditionValueValue$outboundSchema: z.ZodType<SemanticThreadFilterConditionValueValue$Outbound, z.ZodTypeDef, SemanticThreadFilterConditionValueValue>;
export declare function semanticThreadFilterConditionValueValueToJSON(semanticThreadFilterConditionValueValue: SemanticThreadFilterConditionValueValue): string;
export declare function semanticThreadFilterConditionValueValueFromJSON(jsonString: string): SafeParseResult<SemanticThreadFilterConditionValueValue, SDKValidationError>;
/** @internal */
export declare const SemanticThreadFilterConditionValue7$inboundSchema: z.ZodType<SemanticThreadFilterConditionValue7, z.ZodTypeDef, unknown>;
/** @internal */
export type SemanticThreadFilterConditionValue7$Outbound = {
    path: Array<string>;
    value: string | number | boolean | Array<string | number | boolean | null> | null;
};
/** @internal */
export declare const SemanticThreadFilterConditionValue7$outboundSchema: z.ZodType<SemanticThreadFilterConditionValue7$Outbound, z.ZodTypeDef, SemanticThreadFilterConditionValue7>;
export declare function semanticThreadFilterConditionValue7ToJSON(semanticThreadFilterConditionValue7: SemanticThreadFilterConditionValue7): string;
export declare function semanticThreadFilterConditionValue7FromJSON(jsonString: string): SafeParseResult<SemanticThreadFilterConditionValue7, SDKValidationError>;
/** @internal */
export declare const SemanticThreadFilterConditionCondition$inboundSchema: z.ZodType<SemanticThreadFilterConditionCondition, z.ZodTypeDef, unknown>;
/** @internal */
export type SemanticThreadFilterConditionCondition$Outbound = {
    field: string;
    operator: string;
    value?: any | undefined;
};
/** @internal */
export declare const SemanticThreadFilterConditionCondition$outboundSchema: z.ZodType<SemanticThreadFilterConditionCondition$Outbound, z.ZodTypeDef, SemanticThreadFilterConditionCondition>;
export declare function semanticThreadFilterConditionConditionToJSON(semanticThreadFilterConditionCondition: SemanticThreadFilterConditionCondition): string;
export declare function semanticThreadFilterConditionConditionFromJSON(jsonString: string): SafeParseResult<SemanticThreadFilterConditionCondition, SDKValidationError>;
/** @internal */
export declare const SemanticThreadFilterCondition$inboundSchema: z.ZodType<SemanticThreadFilterCondition, z.ZodTypeDef, unknown>;
/** @internal */
export type SemanticThreadFilterCondition$Outbound = {
    condition: SemanticThreadFilterConditionCondition$Outbound;
};
/** @internal */
export declare const SemanticThreadFilterCondition$outboundSchema: z.ZodType<SemanticThreadFilterCondition$Outbound, z.ZodTypeDef, SemanticThreadFilterCondition>;
export declare function semanticThreadFilterConditionToJSON(semanticThreadFilterCondition: SemanticThreadFilterCondition): string;
export declare function semanticThreadFilterConditionFromJSON(jsonString: string): SafeParseResult<SemanticThreadFilterCondition, SDKValidationError>;
//# sourceMappingURL=semanticthreadfiltercondition.d.ts.map