import { User } from "./User"; import { KeeError } from "./KeeError"; export declare enum StorageType { KEE_S3 = "kee-s3" } export type URLlist = { ul: string; dl: string; st: string; }; export declare class StorageItem { emailHashed: string; schemaVersion: number; id: string; location: string; type: StorageType; urls: URLlist; name: string; constructor(init?: Partial); static fromUserId(userId: string): StorageItem; static fromUserIdAndId(userId: string, id: string): StorageItem; } export declare class StorageManager { static init(stage: "dev" | "beta" | "prod"): void; static list(user: User): Promise; static create(user: User, name: string, emptyVault: string): Promise; static update(user: User, si: StorageItem): Promise; static refreshItemLinks(user: User, id: string): Promise; }