import * as z from "zod/v3"; import { ClosedEnum } from "../../types/enums.js"; import { ActivityEventParams, ActivityEventParams$Outbound } from "./activityeventparams.js"; /** * The type of activity this represents. */ export declare const ActivityEventAction: { /** * Represents a visit to the given `url`. */ readonly View: "VIEW"; /** * Represents an edit of the document represented by the `url`. */ readonly Edit: "EDIT"; /** * Represents a search performed at the given `url`. */ readonly Search: "SEARCH"; /** * Represents a comment on the document represented by the `url`. */ readonly Comment: "COMMENT"; /** * Represents an explicit request to index the given `url` along with associated attributes in this payload. */ readonly Crawl: "CRAWL"; /** * Represents a search performed at the given `url` as indicated by the user's history. */ readonly HistoricalSearch: "HISTORICAL_SEARCH"; /** * Represents a visit to the given `url` as indicated by the user's history. */ readonly HistoricalView: "HISTORICAL_VIEW"; }; /** * The type of activity this represents. */ export type ActivityEventAction = ClosedEnum; export type ActivityEvent = { /** * Universally unique identifier of the event. To allow for reliable retransmission, only the earliest received event of a given UUID is considered valid by the server and subsequent are ignored. */ id?: string | undefined; /** * The type of activity this represents. */ action: ActivityEventAction; params?: ActivityEventParams | undefined; /** * The ISO 8601 timestamp when the activity began. */ timestamp: Date; /** * The URL of the activity. */ url: string; }; /** @internal */ export declare const ActivityEventAction$outboundSchema: z.ZodNativeEnum; /** @internal */ export type ActivityEvent$Outbound = { id?: string | undefined; action: string; params?: ActivityEventParams$Outbound | undefined; timestamp: string; url: string; }; /** @internal */ export declare const ActivityEvent$outboundSchema: z.ZodType; export declare function activityEventToJSON(activityEvent: ActivityEvent): string; //# sourceMappingURL=activityevent.d.ts.map