import { z } from 'zod'; import { Configuration } from '../../shared.js'; import type { ThreekitAuthProps } from '../../ThreekitAuthProps.js'; import { Route } from '../Route.js'; export declare const EventType: z.ZodEnum<["product download", "product session start", "product session end", "product configuration start", "product configuration attribute set", "product cart-add", "product ordered", "product social share", "product AR not available", "product AR offered", "product AR download", "product AR mobile transition offered", "product AR mobile transition completed"]>; export type EventType = z.infer; export declare const Event: z.ZodObject; requestUrl: z.ZodNullable; requestOrigin: z.ZodNullable; referer: z.ZodString; }, { eventType: z.ZodEnum<["product download", "product session start", "product session end", "product configuration start", "product configuration attribute set", "product cart-add", "product ordered", "product social share", "product AR not available", "product AR offered", "product AR download", "product AR mobile transition offered", "product AR mobile transition completed"]>; eventMetadata: z.ZodRecord>; assetId: z.ZodOptional; userId: z.ZodOptional; sessionId: z.ZodOptional; configId: z.ZodOptional>; configuration: z.ZodOptional>; device: z.ZodOptional; metric: z.ZodOptional; }>, "strip", z.ZodTypeAny, { id: string; eventType: "product download" | "product session start" | "product session end" | "product configuration start" | "product configuration attribute set" | "product cart-add" | "product ordered" | "product social share" | "product AR not available" | "product AR offered" | "product AR download" | "product AR mobile transition offered" | "product AR mobile transition completed"; eventMetadata: Record; requestUrl: string | null; requestOrigin: string | null; referer: string; createdAt?: string | undefined; assetId?: string | undefined; configuration?: Configuration | undefined; userId?: string | undefined; sessionId?: string | undefined; configId?: string | null | undefined; device?: string | undefined; metric?: number | undefined; }, { id: string; eventType: "product download" | "product session start" | "product session end" | "product configuration start" | "product configuration attribute set" | "product cart-add" | "product ordered" | "product social share" | "product AR not available" | "product AR offered" | "product AR download" | "product AR mobile transition offered" | "product AR mobile transition completed"; eventMetadata: Record; requestUrl: string | null; requestOrigin: string | null; referer: string; createdAt?: string | undefined; assetId?: string | undefined; configuration?: Configuration | undefined; userId?: string | undefined; sessionId?: string | undefined; configId?: string | null | undefined; device?: string | undefined; metric?: number | undefined; }>; export type Event = z.infer; export declare const EventListing: z.ZodObject; perPage: z.ZodOptional; sort: z.ZodOptional; }, { events: z.ZodArray; requestUrl: z.ZodNullable; requestOrigin: z.ZodNullable; referer: z.ZodString; }, { eventType: z.ZodEnum<["product download", "product session start", "product session end", "product configuration start", "product configuration attribute set", "product cart-add", "product ordered", "product social share", "product AR not available", "product AR offered", "product AR download", "product AR mobile transition offered", "product AR mobile transition completed"]>; eventMetadata: z.ZodRecord>; assetId: z.ZodOptional; userId: z.ZodOptional; sessionId: z.ZodOptional; configId: z.ZodOptional>; configuration: z.ZodOptional>; device: z.ZodOptional; metric: z.ZodOptional; }>, "strip", z.ZodTypeAny, { id: string; eventType: "product download" | "product session start" | "product session end" | "product configuration start" | "product configuration attribute set" | "product cart-add" | "product ordered" | "product social share" | "product AR not available" | "product AR offered" | "product AR download" | "product AR mobile transition offered" | "product AR mobile transition completed"; eventMetadata: Record; requestUrl: string | null; requestOrigin: string | null; referer: string; createdAt?: string | undefined; assetId?: string | undefined; configuration?: Configuration | undefined; userId?: string | undefined; sessionId?: string | undefined; configId?: string | null | undefined; device?: string | undefined; metric?: number | undefined; }, { id: string; eventType: "product download" | "product session start" | "product session end" | "product configuration start" | "product configuration attribute set" | "product cart-add" | "product ordered" | "product social share" | "product AR not available" | "product AR offered" | "product AR download" | "product AR mobile transition offered" | "product AR mobile transition completed"; eventMetadata: Record; requestUrl: string | null; requestOrigin: string | null; referer: string; createdAt?: string | undefined; assetId?: string | undefined; configuration?: Configuration | undefined; userId?: string | undefined; sessionId?: string | undefined; configId?: string | null | undefined; device?: string | undefined; metric?: number | undefined; }>, "many">; }>, "strip", z.ZodTypeAny, { events: { id: string; eventType: "product download" | "product session start" | "product session end" | "product configuration start" | "product configuration attribute set" | "product cart-add" | "product ordered" | "product social share" | "product AR not available" | "product AR offered" | "product AR download" | "product AR mobile transition offered" | "product AR mobile transition completed"; eventMetadata: Record; requestUrl: string | null; requestOrigin: string | null; referer: string; createdAt?: string | undefined; assetId?: string | undefined; configuration?: Configuration | undefined; userId?: string | undefined; sessionId?: string | undefined; configId?: string | null | undefined; device?: string | undefined; metric?: number | undefined; }[]; sort?: string | undefined; page?: number | undefined; perPage?: number | undefined; }, { events: { id: string; eventType: "product download" | "product session start" | "product session end" | "product configuration start" | "product configuration attribute set" | "product cart-add" | "product ordered" | "product social share" | "product AR not available" | "product AR offered" | "product AR download" | "product AR mobile transition offered" | "product AR mobile transition completed"; eventMetadata: Record; requestUrl: string | null; requestOrigin: string | null; referer: string; createdAt?: string | undefined; assetId?: string | undefined; configuration?: Configuration | undefined; userId?: string | undefined; sessionId?: string | undefined; configId?: string | null | undefined; device?: string | undefined; metric?: number | undefined; }[]; sort?: string | undefined; page?: number | undefined; perPage?: number | undefined; }>; export type EventListing = z.infer; export declare const CreateEventProps: z.ZodObject<{ eventType: z.ZodEnum<["product download", "product session start", "product session end", "product configuration start", "product configuration attribute set", "product cart-add", "product ordered", "product social share", "product AR not available", "product AR offered", "product AR download", "product AR mobile transition offered", "product AR mobile transition completed"]>; eventMetadata: z.ZodRecord>; assetId: z.ZodOptional; userId: z.ZodOptional; sessionId: z.ZodOptional; configId: z.ZodOptional>; configuration: z.ZodOptional>; device: z.ZodOptional; metric: z.ZodOptional; }, "strip", z.ZodTypeAny, { eventType: "product download" | "product session start" | "product session end" | "product configuration start" | "product configuration attribute set" | "product cart-add" | "product ordered" | "product social share" | "product AR not available" | "product AR offered" | "product AR download" | "product AR mobile transition offered" | "product AR mobile transition completed"; eventMetadata: Record; assetId?: string | undefined; configuration?: Configuration | undefined; userId?: string | undefined; sessionId?: string | undefined; configId?: string | null | undefined; device?: string | undefined; metric?: number | undefined; }, { eventType: "product download" | "product session start" | "product session end" | "product configuration start" | "product configuration attribute set" | "product cart-add" | "product ordered" | "product social share" | "product AR not available" | "product AR offered" | "product AR download" | "product AR mobile transition offered" | "product AR mobile transition completed"; eventMetadata: Record; assetId?: string | undefined; configuration?: Configuration | undefined; userId?: string | undefined; sessionId?: string | undefined; configId?: string | null | undefined; device?: string | undefined; metric?: number | undefined; }>; export type CreateEventProps = z.infer; export declare const QueryEventProps: z.ZodObject<{ orgId: z.ZodOptional; metadata: z.ZodOptional>>; device: z.ZodOptional; referer: z.ZodOptional; }, "strip", z.ZodTypeAny, { orgId?: string | undefined; metadata?: Record | undefined; device?: string | undefined; referer?: string | undefined; }, { orgId?: string | undefined; metadata?: Record | undefined; device?: string | undefined; referer?: string | undefined; }>; export type QueryEventProps = z.infer; export declare enum QueryRange { Day = "day", Month = "month", Year = "year" } export declare const QueryViewsProps: z.ZodObject<{ orgId: z.ZodOptional; metadata: z.ZodOptional>>; device: z.ZodOptional; referer: z.ZodOptional; subStartDate: z.ZodOptional; endDate: z.ZodOptional; range: z.ZodOptional>; eventType: z.ZodOptional>; }, "strip", z.ZodTypeAny, { orgId?: string | undefined; metadata?: Record | undefined; eventType?: "product download" | "product session start" | "product session end" | "product configuration start" | "product configuration attribute set" | "product cart-add" | "product ordered" | "product social share" | "product AR not available" | "product AR offered" | "product AR download" | "product AR mobile transition offered" | "product AR mobile transition completed" | undefined; device?: string | undefined; referer?: string | undefined; subStartDate?: string | undefined; endDate?: string | undefined; range?: QueryRange | undefined; }, { orgId?: string | undefined; metadata?: Record | undefined; eventType?: "product download" | "product session start" | "product session end" | "product configuration start" | "product configuration attribute set" | "product cart-add" | "product ordered" | "product social share" | "product AR not available" | "product AR offered" | "product AR download" | "product AR mobile transition offered" | "product AR mobile transition completed" | undefined; device?: string | undefined; referer?: string | undefined; subStartDate?: string | undefined; endDate?: string | undefined; range?: QueryRange | undefined; }>; export type QueryViewsProps = z.infer; export declare const Views: z.ZodObject<{ year: z.ZodNumber; month: z.ZodOptional; day: z.ZodOptional; views: z.ZodNumber; cumulative: z.ZodNumber; }, "strip", z.ZodTypeAny, { year: number; views: number; cumulative: number; day?: number | undefined; month?: number | undefined; }, { year: number; views: number; cumulative: number; day?: number | undefined; month?: number | undefined; }>; export declare const ViewsListing: z.ZodObject; perPage: z.ZodOptional; sort: z.ZodOptional; }, { views: z.ZodArray; day: z.ZodOptional; views: z.ZodNumber; cumulative: z.ZodNumber; }, "strip", z.ZodTypeAny, { year: number; views: number; cumulative: number; day?: number | undefined; month?: number | undefined; }, { year: number; views: number; cumulative: number; day?: number | undefined; month?: number | undefined; }>, "many">; }>, "strip", z.ZodTypeAny, { views: { year: number; views: number; cumulative: number; day?: number | undefined; month?: number | undefined; }[]; sort?: string | undefined; page?: number | undefined; perPage?: number | undefined; }, { views: { year: number; views: number; cumulative: number; day?: number | undefined; month?: number | undefined; }[]; sort?: string | undefined; page?: number | undefined; perPage?: number | undefined; }>; export type ViewsListing = z.infer; export declare class Analytics extends Route { constructor(auth: ThreekitAuthProps); healthcheck(): Promise>; create(createProps: CreateEventProps): Promise; requestUrl: string | null; requestOrigin: string | null; referer: string; createdAt?: string | undefined; assetId?: string | undefined; configuration?: Configuration | undefined; userId?: string | undefined; sessionId?: string | undefined; configId?: string | null | undefined; device?: string | undefined; metric?: number | undefined; }, any>>; getById(id: string): Promise; requestUrl: string | null; requestOrigin: string | null; referer: string; createdAt?: string | undefined; assetId?: string | undefined; configuration?: Configuration | undefined; userId?: string | undefined; sessionId?: string | undefined; configId?: string | null | undefined; device?: string | undefined; metric?: number | undefined; }, any>>; get(queryProps?: QueryEventProps): Promise; requestUrl: string | null; requestOrigin: string | null; referer: string; createdAt?: string | undefined; assetId?: string | undefined; configuration?: Configuration | undefined; userId?: string | undefined; sessionId?: string | undefined; configId?: string | null | undefined; device?: string | undefined; metric?: number | undefined; }[]; sort?: string | undefined; page?: number | undefined; perPage?: number | undefined; }, any>>; getViews(queryProps?: QueryViewsProps): Promise>; }