export declare type LocalStorage = { getItem: (key: string) => Promise | string | null; setItem: (key: string, value: string) => Promise | void; removeItem: (key: string) => Promise | void; }; export declare type CreateKey = (encryptStr: string, ivHex: string) => Promise; export declare type PrivateKey = { keyHex: string; keyBuffer: Uint8Array; }; export declare type GetFn = (params: { lookupKey: string; }) => Promise<{ iv: string; cipherText: string; }> | { iv: string; cipherText: string; }; export declare type SetAuthFn = (params: { iv: string; cipherText: string; lookupKey: string; }) => any | Promise; export declare type SetUserFn = (params: { walletAddress: string; username: string; }) => any | Promise;