import { CKDBShareParticipantType } from "./CKDBShareParticipantTypeCodec"; import { CKDBUserIdentity } from "./CKDBUserIdentityCodec"; import { CKDBPermissionType } from "./CKDBPermissionTypeCodec"; import { CKDBShareAcceptanceStatus } from "./CKDBShareAcceptanceStatusCodec"; /** * An object that represents a share participant. * * API schema: CKDBShareParticipant * API version: 1.3.2 */ export interface CKDBShareParticipant { /** * The unique identifier for the participant. */ participantId?: string; /** */ userIdentity: CKDBUserIdentity; /** */ type?: CKDBShareParticipantType; /** */ acceptanceStatus?: CKDBShareAcceptanceStatus; /** */ permission?: CKDBPermissionType; } /** * An object the provides the functions that * transform {@link CKDBShareParticipant } to and from JSON. */ export declare const jsonCodecCKDBShareParticipantOwnProperties: { /** * Get an encoder that transforms {@link CKDBShareParticipant }'s * own properties to JSON. */ readonly getEncoder: () => { readonly userIdentity: (val: CKDBUserIdentity) => import("@apple/cktool.core").ValidatedNEA; readonly type: (value: unknown) => import("@apple/cktool.core").ValidatedNEA>; readonly acceptanceStatus: (value: unknown) => import("@apple/cktool.core").ValidatedNEA>; readonly permission: (value: unknown) => import("@apple/cktool.core").ValidatedNEA>; readonly participantId: (value: string | import("fp-ts/lib/Option").Option | null | undefined) => import("@apple/cktool.core").ValidatedNEA>; }; /** * Get a decoder that transforms {@link CKDBShareParticipant }'s * own properties from JSON. */ readonly getDecoder: () => { readonly userIdentity: (val: unknown) => import("@apple/cktool.core").ValidatedNEA; readonly type: (value: unknown) => import("@apple/cktool.core").ValidatedNEA>; readonly acceptanceStatus: (value: unknown) => import("@apple/cktool.core").ValidatedNEA>; readonly permission: (value: unknown) => import("@apple/cktool.core").ValidatedNEA>; readonly participantId: (value: string | import("fp-ts/lib/Option").Option | null | undefined) => import("@apple/cktool.core").ValidatedNEA>; }; };