import { CodeStub } from './base/CodeStub.mjs'; import { HasEncryptionMetadata } from './base/HasEncryptionMetadata.mjs'; import { HasMedicalLocation } from './base/HasMedicalLocation.mjs'; import { ICureDocument } from './base/ICureDocument.mjs'; import { StoredDocument } from './base/StoredDocument.mjs'; import { Delegation } from './embed/Delegation.mjs'; import { Encryptable } from './embed/Encryptable.mjs'; import { SecurityMetadata } from './embed/SecurityMetadata.mjs'; import { Base64String } from './specializations/Base64String.mjs'; export interface Form extends StoredDocument, ICureDocument, HasMedicalLocation, HasEncryptionMetadata, Encryptable { openingDate: number | undefined; status: string | undefined; version: number | undefined; descr: string | undefined; uniqueId: string | undefined; formTemplateId: string | undefined; contactId: string | undefined; healthElementId: string | undefined; planOfActionId: string | undefined; parent: string | undefined; anchorId: string | undefined; readonly isEncrypted: boolean; toJSON(): object; } export declare class DecryptedForm { id: string; rev: string | undefined; created: number | undefined; modified: number | undefined; author: string | undefined; responsible: string | undefined; tags: Array; codes: Array; deletionDate: number | undefined; openingDate: number | undefined; status: string | undefined; version: number | undefined; descr: string | undefined; uniqueId: string | undefined; formTemplateId: string | undefined; contactId: string | undefined; healthElementId: string | undefined; planOfActionId: string | undefined; parent: string | undefined; anchorId: string | undefined; secretForeignKeys: Array; cryptedForeignKeys: { [key: string]: Array; }; delegations: { [key: string]: Array; }; encryptionKeys: { [key: string]: Array; }; encryptedSelf: Base64String | undefined; securityMetadata: SecurityMetadata | undefined; readonly isEncrypted: false; constructor(partial: Partial); toJSON(): object; static fromJSON(json: any, ignoreUnknownKeys?: boolean, path?: Array): DecryptedForm; } export declare class EncryptedForm { id: string; rev: string | undefined; created: number | undefined; modified: number | undefined; author: string | undefined; responsible: string | undefined; tags: Array; codes: Array; deletionDate: number | undefined; openingDate: number | undefined; status: string | undefined; version: number | undefined; descr: string | undefined; uniqueId: string | undefined; formTemplateId: string | undefined; contactId: string | undefined; healthElementId: string | undefined; planOfActionId: string | undefined; parent: string | undefined; anchorId: string | undefined; secretForeignKeys: Array; cryptedForeignKeys: { [key: string]: Array; }; delegations: { [key: string]: Array; }; encryptionKeys: { [key: string]: Array; }; encryptedSelf: Base64String | undefined; securityMetadata: SecurityMetadata | undefined; readonly isEncrypted: true; constructor(partial: Partial); toJSON(): object; static fromJSON(json: any, ignoreUnknownKeys?: boolean, path?: Array): EncryptedForm; }