import type { IEither } from "@emprespresso/pengueno"; export interface LoginItem { login: { username: string; password: string; }; } export interface SecureNote { notes: string; } export type SecretItem = LoginItem | SecureNote; export interface IVault { unlock: (client: TClient) => Promise>; lock: (client: TClient, key: TKey) => Promise>; fetchSecret: ( client: TClient, key: TKey, item: TItemId, ) => Promise>; }