UNPKG

688 BTypeScriptView Raw
1export declare function hasKey(key: string): boolean;
2export declare function getBoolean(key: string, defaultValue?: boolean): boolean;
3export declare function getString(key: string, defaultValue?: string): string;
4export declare function getNumber(key: string, defaultValue?: number): number;
5export declare function setBoolean(key: string, value: boolean): void;
6export declare function setString(key: string, value: string): void;
7export declare function setNumber(key: string, value: number): void;
8export declare function remove(key: string): void;
9export declare function clear(): void;
10export declare function flush(): boolean;
11export declare function getAllKeys(): Array<string>;