export declare class CookieService { private document; constructor(document: any); /** * @param name Cookie name * */ check(name: string): boolean; /** * @param name Cookie name * */ get(name: string): string; /** * */ getAll(): {}; /** * @param name Cookie name * @param value Cookie value * * __options param is:__ * * ```typescript * { * expires?: number | Date, path?: string, domain?: string, secure?: boolean * } * ``` * __expires:__ Number of days until the cookies expires or an actual `Date` * * __path:__ Cookie path * * __domain:__ Cookie domain * * __secure:__ Secure flag */ put(name: string, value: string, options: { expires?: number | Date; path?: string; domain?: string; secure?: boolean; }): void; /** * __options param is:__ * * ```typescript * { * path?: string, * domain?: string, * } * ``` * __path:__ Cookie path * * __domain:__ Cookie domain * * @param name Cookie name */ remove(name: string, options: { path?: string; domain?: string; }): void; /** * __options param is:__ * * ```typescript * { * path?: string, * domain?: string, * } * ``` * __path:__ Cookie path * * __domain:__ Cookie domain * */ removeAll(options: { path?: string; domain?: string; }): void; private getCookieRegExp(name); }