import type { ByoConfig } from './config.js'; import type { KvDriver } from './kv.js'; import type { StorageClient } from './storage.js'; /** * 模式 A(自带云资源)驱动: * - KV:ioredis(`npm i ioredis`),REDIS_URL;键前缀 CHATU_KV_PREFIX(默认 app:) * - 对象存储:@aws-sdk/client-s3 + @aws-sdk/s3-request-presigner(`npm i @aws-sdk/client-s3 @aws-sdk/s3-request-presigner`), * S3_ENDPOINT / S3_REGION / S3_BUCKET / S3_ACCESS_KEY / S3_SECRET_KEY / S3_PREFIX / S3_FORCE_PATH_STYLE(腾讯云 COS:endpoint https://cos..myqcloud.com) */ export declare function byoKv(cfg: ByoConfig, fallback: KvDriver): KvDriver; export declare function byoStorage(cfg: ByoConfig, fallback: StorageClient): StorageClient;