import * as z from "zod/v3";
import { ClosedEnum } from "../../types/enums.js";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
export declare const Aggregation: {
    readonly Sum: "sum";
    readonly Count: "count";
    readonly CountDistinct: "countDistinct";
    readonly Avg: "avg";
    readonly Min: "min";
    readonly Max: "max";
};
export type Aggregation = ClosedEnum<typeof Aggregation>;
export declare const Field: {
    readonly Id: "id";
    readonly UserMessageCount: "userMessageCount";
    readonly OrganizationId: "organizationId";
    readonly ProjectId: "projectId";
    readonly IntegrationId: "integrationId";
    readonly FirstMessageTime: "firstMessageTime";
    readonly Type: "type";
    readonly Properties: "properties";
    readonly UserProperties: "userProperties";
};
export type Field = ClosedEnum<typeof Field>;
export type ConversationsAggregationSelection = {
    type: "aggregation";
    aggregation: Aggregation;
    field?: Field | undefined;
    path?: Array<string> | undefined;
};
/** @internal */
export declare const Aggregation$inboundSchema: z.ZodNativeEnum<typeof Aggregation>;
/** @internal */
export declare const Aggregation$outboundSchema: z.ZodNativeEnum<typeof Aggregation>;
/** @internal */
export declare const Field$inboundSchema: z.ZodNativeEnum<typeof Field>;
/** @internal */
export declare const Field$outboundSchema: z.ZodNativeEnum<typeof Field>;
/** @internal */
export declare const ConversationsAggregationSelection$inboundSchema: z.ZodType<ConversationsAggregationSelection, z.ZodTypeDef, unknown>;
/** @internal */
export type ConversationsAggregationSelection$Outbound = {
    type: "aggregation";
    aggregation: string;
    field?: string | undefined;
    path?: Array<string> | undefined;
};
/** @internal */
export declare const ConversationsAggregationSelection$outboundSchema: z.ZodType<ConversationsAggregationSelection$Outbound, z.ZodTypeDef, ConversationsAggregationSelection>;
export declare function conversationsAggregationSelectionToJSON(conversationsAggregationSelection: ConversationsAggregationSelection): string;
export declare function conversationsAggregationSelectionFromJSON(jsonString: string): SafeParseResult<ConversationsAggregationSelection, SDKValidationError>;
//# sourceMappingURL=conversationsaggregationselection.d.ts.map