import { IApiKey } from '@metad/contracts'; import { TenantOrganizationBaseEntity, User } from '../core/entities/internal'; export declare class ApiKey extends TenantOrganizationBaseEntity implements IApiKey { token: string; name?: string; type?: string; entityId?: string; validUntil?: Date; expired?: boolean; lastUsedAt?: Date; userId?: string; user?: User; /** * Called after entity is loaded. */ afterLoadEntity?(): void; }