GoScrobble/web/node_modules/universal-cookie/lib/utils.d.ts

7 lines
459 B
TypeScript
Raw Permalink Normal View History

2022-04-25 02:47:15 +00:00
import { Cookie, CookieGetOptions, CookieParseOptions } from './types';
export declare function hasDocumentCookie(): boolean;
export declare function cleanCookies(): void;
export declare function parseCookies(cookies?: string | object | null, options?: CookieParseOptions): object;
export declare function isParsingCookie(value: Cookie, doNotParse?: boolean): boolean;
export declare function readCookie(value: Cookie, options?: CookieGetOptions): any;