/** * An object that represents a CloudKit database zone identifier. * * API schema: CKDBZoneId * API version: 1.3.2 */ export interface CKDBZoneId { /** * The name that identifies the record zone. * * The default value is `_defaultZone`, which indicates the default zone of the current database. */ zoneName: string; /** * The unique identifier for a zone within a database. */ canonicalName: string; /** * The type for the zone. */ zoneType?: string; /** * The owner of the zone. */ ownerRecordName?: string; } /** * An object the provides the functions that * transform {@link CKDBZoneId } to and from JSON. */ export declare const jsonCodecCKDBZoneIdOwnProperties: { /** * Get an encoder that transforms {@link CKDBZoneId }'s * own properties to JSON. */ readonly getEncoder: () => { readonly zoneName: (value: string) => import("@apple/cktool.core").ValidatedNEA; readonly canonicalName: (value: string) => import("@apple/cktool.core").ValidatedNEA; readonly zoneType: (value: string | import("fp-ts/lib/Option").Option | null | undefined) => import("@apple/cktool.core").ValidatedNEA>; readonly ownerRecordName: (value: string | import("fp-ts/lib/Option").Option | null | undefined) => import("@apple/cktool.core").ValidatedNEA>; }; /** * Get a decoder that transforms {@link CKDBZoneId }'s * own properties from JSON. */ readonly getDecoder: () => { readonly zoneName: (value: string) => import("@apple/cktool.core").ValidatedNEA; readonly canonicalName: (value: string) => import("@apple/cktool.core").ValidatedNEA; readonly zoneType: (value: string | import("fp-ts/lib/Option").Option | null | undefined) => import("@apple/cktool.core").ValidatedNEA>; readonly ownerRecordName: (value: string | import("fp-ts/lib/Option").Option | null | undefined) => import("@apple/cktool.core").ValidatedNEA>; }; };