import type { SecretService, SecretValues } from '@pikku/core/services'; import type { SecretValue } from '@pikku/core/classification'; import { Redis, type RedisOptions } from 'ioredis'; export interface RedisSecretServiceConfig { key: string; keyVersion?: number; previousKey?: string; keyPrefix?: string; } export declare class RedisSecretService implements SecretService { private redis; private ownsConnection; private key; private keyVersion; private previousKey?; private keyPrefix; private kekSalts; private keks; constructor(connectionOrConfig: Redis | RedisOptions | string, config: RedisSecretServiceConfig); private secretKey; private saltKey; private getKEKSalt; private getKEK; getSecret(key: string): Promise>; hasSecret(key: string): Promise; setSecret(key: string, value: unknown): Promise; deleteSecret(key: string): Promise; getSecrets = Record>(keys: (keyof T & string)[]): Promise>>; rotateKEK(): Promise; close(): Promise; }