import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { CountInfo, CountInfo$Outbound } from "./countinfo.js"; import { Reaction, Reaction$Outbound } from "./reaction.js"; import { Share, Share$Outbound } from "./share.js"; export type DocumentInteractions = { /** * The count of comments (thread replies in the case of slack). */ numComments?: number | undefined; /** * The count of reactions on the document. */ numReactions?: number | undefined; /** * To be deprecated in favor of reacts. A (potentially non-exhaustive) list of reactions for the document. * * @deprecated field: Deprecated on 2026-02-05, removal scheduled for 2026-10-15: Use reacts instead. */ reactions?: Array | undefined; reacts?: Array | undefined; /** * Describes instances of someone posting a link to this document in one of our indexed datasources. */ shares?: Array | undefined; visitorCount?: CountInfo | undefined; }; /** @internal */ export declare const DocumentInteractions$inboundSchema: z.ZodType; /** @internal */ export type DocumentInteractions$Outbound = { numComments?: number | undefined; numReactions?: number | undefined; reactions?: Array | undefined; reacts?: Array | undefined; shares?: Array | undefined; visitorCount?: CountInfo$Outbound | undefined; }; /** @internal */ export declare const DocumentInteractions$outboundSchema: z.ZodType; export declare function documentInteractionsToJSON(documentInteractions: DocumentInteractions): string; export declare function documentInteractionsFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=documentinteractions.d.ts.map