import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { Document, Document$Outbound } from "./document.js"; import { Person, Person$Outbound } from "./person.js"; /** * Search endpoint will only fill out numDays ago since that's all we need to display shared badge; docmetadata endpoint will fill out all the fields so that we can display shared badge tooltip */ export type Share = { /** * The number of days that has passed since the share happened */ numDaysAgo: number; sharer?: Person | undefined; sharingDocument?: Document | undefined; }; /** @internal */ export declare const Share$inboundSchema: z.ZodType; /** @internal */ export type Share$Outbound = { numDaysAgo: number; sharer?: Person$Outbound | undefined; sharingDocument?: Document$Outbound | undefined; }; /** @internal */ export declare const Share$outboundSchema: z.ZodType; export declare function shareToJSON(share: Share): string; export declare function shareFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=share.d.ts.map