UNPKG

@shift-code/cli

Version:

Redeem Gearbox SHiFT codes automatically

11 lines (10 loc) 631 B
export declare const ACCOUNT_CACHE = "account"; export declare const META_CACHE = ""; export declare const META_FILE = "meta"; export declare const SESSION_FILE = "session"; export declare const CACHE_FILE = "cache"; export declare function getStorePath(): string; export declare function storeExists(cache: string, id: string): Promise<boolean>; export declare function deleteStoreFile(cache: string, id: string): Promise<boolean>; export declare function storeContents<T>(cache: string, id: string, contents: T): Promise<string>; export declare function loadContents<T>(cache: string, id: string, defaultContent: T): Promise<T>;