import Cookies from 'js-cookie'; /** * save thing (value) in browser cookies * @param key a key * @param thing a value that canbe stringified * @return thing */ export declare function rememberThing(key: string, thing: T, expires?: Cookies.CookieAttributes['expires']): T; /** * get thing (value) by key from browser cookies * @param key a key * @return thing */ export declare function getThing(key: string, forgetAfterGet?: boolean): T | undefined; /** * remove thing from browser cookies if exist * @param key a key * @return boolean true, if there is a thing to remove */ export declare function forgetThing(key: string): boolean; //# sourceMappingURL=index.d.ts.map