import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; /** * Controls how "shared" a document must be to get picked for scans. */ export type SharingOptions = { /** * @deprecated field: Deprecated on 2026-02-05, removal scheduled for 2026-10-15: Field is deprecated. */ enabled?: boolean | undefined; /** * The minimum number of users the document is shared with. */ threshold?: number | undefined; /** * Documents will be filtered based on how many people have access to it. */ thresholdEnabled?: boolean | undefined; /** * @deprecated field: Deprecated on 2026-02-05, removal scheduled for 2026-10-15: Field is deprecated. */ anyoneWithLinkEnabled?: boolean | undefined; /** * Only users within the organization can access the document. */ anyoneInternalEnabled?: boolean | undefined; /** * Anyone on the internet can access the document. */ anonymousAccessEnabled?: boolean | undefined; /** * Enable user access check */ userAccessEnabled?: boolean | undefined; /** * Any one of the specified users can access the document. */ userIds?: Array | undefined; }; /** @internal */ export declare const SharingOptions$inboundSchema: z.ZodType; /** @internal */ export type SharingOptions$Outbound = { enabled?: boolean | undefined; threshold?: number | undefined; thresholdEnabled?: boolean | undefined; anyoneWithLinkEnabled?: boolean | undefined; anyoneInternalEnabled?: boolean | undefined; anonymousAccessEnabled?: boolean | undefined; userAccessEnabled?: boolean | undefined; userIds?: Array | undefined; }; /** @internal */ export declare const SharingOptions$outboundSchema: z.ZodType; export declare function sharingOptionsToJSON(sharingOptions: SharingOptions): string; export declare function sharingOptionsFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=sharingoptions.d.ts.map