import { PropertyTypeStub } from './PropertyTypeStub.mjs'; import { Encryptable } from './embed/Encryptable.mjs'; import { DecryptedTypedValue, EncryptedTypedValue, TypedValue } from './embed/TypedValue.mjs'; import { Base64String } from './specializations/Base64String.mjs'; /** * * Lightweight stub representation of a property, used when the full stored property is not needed. * / */ export interface PropertyStub extends Encryptable { /** * * The unique identifier of the property stub. */ id: string | undefined; /** * * The type stub definition of this property. */ type: PropertyTypeStub | undefined; /** * * The typed value held by this property. */ typedValue: TypedValue | undefined; readonly isEncrypted: boolean; toJSON(): object; } /** * * Lightweight stub representation of a property, used when the full stored property is not needed. * / */ export declare class DecryptedPropertyStub { /** * * The unique identifier of the property stub. */ id: string | undefined; /** * * The type stub definition of this property. */ type: PropertyTypeStub | undefined; /** * * The typed value held by this property. */ typedValue: DecryptedTypedValue | undefined; /** * * The encrypted content of this property, encoded as a Base64 string. */ encryptedSelf: Base64String | undefined; readonly isEncrypted: false; constructor(partial: Partial); toJSON(): object; static fromJSON(json: any, ignoreUnknownKeys?: boolean, path?: Array): DecryptedPropertyStub; } /** * * Lightweight stub representation of a property, used when the full stored property is not needed. * / */ export declare class EncryptedPropertyStub { /** * * The unique identifier of the property stub. */ id: string | undefined; /** * * The type stub definition of this property. */ type: PropertyTypeStub | undefined; /** * * The typed value held by this property. */ typedValue: EncryptedTypedValue | undefined; /** * * The encrypted content of this property, encoded as a Base64 string. */ encryptedSelf: Base64String | undefined; readonly isEncrypted: true; constructor(partial: Partial); toJSON(): object; static fromJSON(json: any, ignoreUnknownKeys?: boolean, path?: Array): EncryptedPropertyStub; }