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 EventsAggregationSelectionAggregation: {
    readonly Sum: "sum";
    readonly Count: "count";
    readonly CountDistinct: "countDistinct";
    readonly Avg: "avg";
    readonly Min: "min";
    readonly Max: "max";
};
export type EventsAggregationSelectionAggregation = ClosedEnum<typeof EventsAggregationSelectionAggregation>;
export declare const EventsAggregationSelectionField: {
    readonly Id: "id";
    readonly OrganizationId: "organizationId";
    readonly MessageId: "messageId";
    readonly ConversationId: "conversationId";
    readonly CreatedAt: "createdAt";
    readonly ProjectId: "projectId";
    readonly IntegrationId: "integrationId";
    readonly EventType: "eventType";
    readonly Type: "type";
    readonly SearchQuery: "searchQuery";
    readonly Properties: "properties";
    readonly UserProperties: "userProperties";
};
export type EventsAggregationSelectionField = ClosedEnum<typeof EventsAggregationSelectionField>;
export type EventsAggregationSelection = {
    type: "aggregation";
    aggregation: EventsAggregationSelectionAggregation;
    field?: EventsAggregationSelectionField | undefined;
    path?: Array<string> | undefined;
};
/** @internal */
export declare const EventsAggregationSelectionAggregation$inboundSchema: z.ZodNativeEnum<typeof EventsAggregationSelectionAggregation>;
/** @internal */
export declare const EventsAggregationSelectionAggregation$outboundSchema: z.ZodNativeEnum<typeof EventsAggregationSelectionAggregation>;
/** @internal */
export declare const EventsAggregationSelectionField$inboundSchema: z.ZodNativeEnum<typeof EventsAggregationSelectionField>;
/** @internal */
export declare const EventsAggregationSelectionField$outboundSchema: z.ZodNativeEnum<typeof EventsAggregationSelectionField>;
/** @internal */
export declare const EventsAggregationSelection$inboundSchema: z.ZodType<EventsAggregationSelection, z.ZodTypeDef, unknown>;
/** @internal */
export type EventsAggregationSelection$Outbound = {
    type: "aggregation";
    aggregation: string;
    field?: string | undefined;
    path?: Array<string> | undefined;
};
/** @internal */
export declare const EventsAggregationSelection$outboundSchema: z.ZodType<EventsAggregationSelection$Outbound, z.ZodTypeDef, EventsAggregationSelection>;
export declare function eventsAggregationSelectionToJSON(eventsAggregationSelection: EventsAggregationSelection): string;
export declare function eventsAggregationSelectionFromJSON(jsonString: string): SafeParseResult<EventsAggregationSelection, SDKValidationError>;
//# sourceMappingURL=eventsaggregationselection.d.ts.map