import { SmrtCollection } from '@happyvertical/smrt-core'; import { TenantKey, TenantKeyStatus } from '../models/TenantKey.js'; /** * Collection for managing TenantKey objects */ export declare class TenantKeyCollection extends SmrtCollection { static readonly _itemClass: typeof TenantKey; /** * Get the active key for a tenant */ getActiveKey(tenantId: string): Promise; /** * List all key versions for a tenant */ listKeyVersions(tenantId: string): Promise; /** * Get a specific key version for a tenant */ getKeyVersion(tenantId: string, version: number): Promise; /** * Find keys that need rotation */ findKeysNeedingRotation(): Promise; /** * List all active keys across all tenants */ listAllActiveKeys(): Promise; /** * Count keys by status */ countByStatus(): Promise>; /** * Mark a key as compromised (should trigger re-encryption) */ markCompromised(tenantId: string, keyId: string): Promise; /** * Delete old retired keys that are no longer needed * @param olderThanDays Delete keys retired more than this many days ago */ cleanupRetiredKeys(olderThanDays?: number): Promise; } //# sourceMappingURL=TenantKeyCollection.d.ts.map