import type { Model } from "./Model"; import { MigrationStrategies } from '../types'; /** * Definition for Storable Credential model * Represents {@link Domain!Credential} * * @typedef {Object} CredentialModel * @see Domain.Credential */ export interface Credential extends Model { /** * Identifier for recovery */ recoveryId: string; /** * Stringified JSON values */ dataJson: string; issuer?: string; subject?: string; credentialCreated?: string; credentialUpdated?: string; credentialSchema?: string; validUntil?: string; revoked?: boolean; id: string; } export declare const CredentialSchema: import("@trust0/ridb-core").SchemaType & { required: string[]; encrypted: []; }; export declare const CredentialMigration: MigrationStrategies;