export interface BucketManager { uploadLocalFile( prefix: string, filePath: string, options: Record ): Promise; uploadLocalDirectory( prefix: string, dirPath: string, options: { filter: Record; cacheControl?: string; } ): Promise; } export type OssOptions = { region: string; secretId: string; secretKey: string; bucket: string; }; export type TargetOptions = { prefix: string; cacheControl?: string; }; export type LocalOptions = { dist: string; filter: Record; };