import * as z from "zod"; import { ClosedEnum } from "../../types/enums.js"; import { ExpressionBranchesOptsV2, ExpressionBranchesOptsV2$Outbound } from "./expressionbranchesoptsv2.js"; import { ExpressionFilterOptsV2, ExpressionFilterOptsV2$Outbound } from "./expressionfilteroptsv2.js"; import { ExpressionNavigateOptsV2, ExpressionNavigateOptsV2$Outbound } from "./expressionnavigateoptsv2.js"; import { ExpressionParseOptsPayloadV2, ExpressionParseOptsPayloadV2$Outbound } from "./expressionparseoptspayloadv2.js"; import { ReturnsMetaV2, ReturnsMetaV2$Outbound } from "./returnsmetav2.js"; /** * The type of the operation */ export declare const ExpressionOperationV2OperationType: { readonly Navigate: "navigate"; readonly Filter: "filter"; readonly Count: "count"; readonly Min: "min"; readonly Max: "max"; readonly Random: "random"; readonly First: "first"; readonly Parse: "parse"; readonly Branches: "branches"; }; /** * The type of the operation */ export type ExpressionOperationV2OperationType = ClosedEnum; export type ExpressionOperationV2 = { branches?: ExpressionBranchesOptsV2 | undefined; filter?: ExpressionFilterOptsV2 | undefined; navigate?: ExpressionNavigateOptsV2 | undefined; /** * The type of the operation */ operationType: ExpressionOperationV2OperationType; parse?: ExpressionParseOptsPayloadV2 | undefined; returns: ReturnsMetaV2; }; /** @internal */ export declare const ExpressionOperationV2OperationType$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const ExpressionOperationV2OperationType$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 ExpressionOperationV2OperationType$ { /** @deprecated use `ExpressionOperationV2OperationType$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly Navigate: "navigate"; readonly Filter: "filter"; readonly Count: "count"; readonly Min: "min"; readonly Max: "max"; readonly Random: "random"; readonly First: "first"; readonly Parse: "parse"; readonly Branches: "branches"; }>; /** @deprecated use `ExpressionOperationV2OperationType$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly Navigate: "navigate"; readonly Filter: "filter"; readonly Count: "count"; readonly Min: "min"; readonly Max: "max"; readonly Random: "random"; readonly First: "first"; readonly Parse: "parse"; readonly Branches: "branches"; }>; } /** @internal */ export declare const ExpressionOperationV2$inboundSchema: z.ZodType; /** @internal */ export type ExpressionOperationV2$Outbound = { branches?: ExpressionBranchesOptsV2$Outbound | undefined; filter?: ExpressionFilterOptsV2$Outbound | undefined; navigate?: ExpressionNavigateOptsV2$Outbound | undefined; operation_type: string; parse?: ExpressionParseOptsPayloadV2$Outbound | undefined; returns: ReturnsMetaV2$Outbound; }; /** @internal */ export declare const ExpressionOperationV2$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 ExpressionOperationV2$ { /** @deprecated use `ExpressionOperationV2$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `ExpressionOperationV2$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `ExpressionOperationV2$Outbound` instead. */ type Outbound = ExpressionOperationV2$Outbound; } //# sourceMappingURL=expressionoperationv2.d.ts.map