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";
import { TimeUnit } from "./timeunit.js";
export declare const ConversationsTimeBasedGroupBySelectionField: {
    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 ConversationsTimeBasedGroupBySelectionField = ClosedEnum<typeof ConversationsTimeBasedGroupBySelectionField>;
export type ConversationsTimeBasedGroupBySelection = {
    type: "time";
    /**
     * Valid time units for time-based operations
     */
    timeUnit: TimeUnit;
    field?: ConversationsTimeBasedGroupBySelectionField | undefined;
};
/** @internal */
export declare const ConversationsTimeBasedGroupBySelectionField$inboundSchema: z.ZodNativeEnum<typeof ConversationsTimeBasedGroupBySelectionField>;
/** @internal */
export declare const ConversationsTimeBasedGroupBySelectionField$outboundSchema: z.ZodNativeEnum<typeof ConversationsTimeBasedGroupBySelectionField>;
/** @internal */
export declare const ConversationsTimeBasedGroupBySelection$inboundSchema: z.ZodType<ConversationsTimeBasedGroupBySelection, z.ZodTypeDef, unknown>;
/** @internal */
export type ConversationsTimeBasedGroupBySelection$Outbound = {
    type: "time";
    timeUnit: string;
    field?: string | undefined;
};
/** @internal */
export declare const ConversationsTimeBasedGroupBySelection$outboundSchema: z.ZodType<ConversationsTimeBasedGroupBySelection$Outbound, z.ZodTypeDef, ConversationsTimeBasedGroupBySelection>;
export declare function conversationsTimeBasedGroupBySelectionToJSON(conversationsTimeBasedGroupBySelection: ConversationsTimeBasedGroupBySelection): string;
export declare function conversationsTimeBasedGroupBySelectionFromJSON(jsonString: string): SafeParseResult<ConversationsTimeBasedGroupBySelection, SDKValidationError>;
//# sourceMappingURL=conversationstimebasedgroupbyselection.d.ts.map