declare function store(): Record declare function store(key: `?${string}`): boolean declare function store(key: string): any declare function store(key: string, value: string): Store declare function store(entries: Record): Store declare function store(key: S, callback: (key: S, value: any) => any): Store declare function store(keys: S, callback: (key: S[number], value: any) => any): Store /** @deprecated Don't pass falsy value in this way. Use `set` instead. */ declare function store(key: string, value: Falsy): Store type Falsy = null | undefined | 0 | '' | false declare class Store { get(): Record get(key: `?${string}`): boolean get(key: string): any get(...keys: S): Record set(key: string, value: any): Store set(entries: Record): Store has(key: string): boolean remove(key: string): any keys(): string[] forEach(callback: (key: string, value: any) => void): Store search(keyword: string): Record clear(): Store len(): number } declare let s: typeof store & Store export default s