UNPKG

655 BTypeScriptView Raw
1import { CookieDict, CookieOptions } from './cookie.model';
2export declare function isNil(obj: any): boolean;
3export declare function isPresent(obj: any): boolean;
4export declare function isString(obj: any): obj is string;
5export declare function isEmpty(value: any): boolean;
6export declare function mergeOptions(oldOptions: CookieOptions, newOptions?: CookieOptions): CookieOptions;
7export declare function parseCookieString(currentCookieString: string): CookieDict;
8export declare function buildCookieString(name: string, value: string | undefined, options?: CookieOptions): string;
9export declare function safeDecodeURIComponent(str: string): string;