import { Base64String } from '../specializations/Base64String.mjs'; import { Encryptable } from './Encryptable.mjs'; /** * * Represents a tag associated with a calendar item, carrying metadata about who tagged it and when. * / */ export interface CalendarItemTag extends Encryptable { /** * * The code identifying this tag. */ code: string | undefined; /** * * The timestamp (unix epoch in ms) when the tag was applied. */ date: number | undefined; /** * * The identifier of the user who applied the tag. */ userId: string | undefined; /** * * The display name of the user who applied the tag. */ userName: string | undefined; readonly isEncrypted: boolean; toJSON(): object; } /** * * Represents a tag associated with a calendar item, carrying metadata about who tagged it and when. * / */ export declare class DecryptedCalendarItemTag { /** * * The code identifying this tag. */ code: string | undefined; /** * * The timestamp (unix epoch in ms) when the tag was applied. */ date: number | undefined; /** * * The identifier of the user who applied the tag. */ userId: string | undefined; /** * * The display name of the user who applied the tag. */ userName: string | undefined; /** * * The base64-encoded encrypted content of this tag. */ encryptedSelf: Base64String | undefined; readonly isEncrypted: false; constructor(partial: Partial); toJSON(): object; static fromJSON(json: any, ignoreUnknownKeys?: boolean, path?: Array): DecryptedCalendarItemTag; } /** * * Represents a tag associated with a calendar item, carrying metadata about who tagged it and when. * / */ export declare class EncryptedCalendarItemTag { /** * * The code identifying this tag. */ code: string | undefined; /** * * The timestamp (unix epoch in ms) when the tag was applied. */ date: number | undefined; /** * * The identifier of the user who applied the tag. */ userId: string | undefined; /** * * The display name of the user who applied the tag. */ userName: string | undefined; /** * * The base64-encoded encrypted content of this tag. */ encryptedSelf: Base64String | undefined; readonly isEncrypted: true; constructor(partial: Partial); toJSON(): object; static fromJSON(json: any, ignoreUnknownKeys?: boolean, path?: Array): EncryptedCalendarItemTag; }