import { ApplicationInformationService } from "../app-info/application-information.service"; import * as i0 from "@angular/core"; /** * Service to manage interactions with cookies */ export declare class CookieService { private doc; private applicationService; private document; constructor(doc: any, applicationService: ApplicationInformationService); /** * Getter for array access of cookies by value */ get cookies(): Array; /** * Check if cookie exists by name * @param name Name of cookie to check for * @returns boolean True if cookie exists, else false */ check(name: string): boolean; /** * Get cookie by name * @param name Name of cookie to check for * @returns string String-representation of cookie data if exists, else null */ get(name: string): string; /** * Create or replace an existing cookie * @param name Name of the cookie * @param value Data to store in cookie * @param path Scope of the cookie * @param secure If true, cookie is only sent to server when using HTTPS * @param expiration Date cookie should expire */ set(name: string, value: string, path?: string, secure?: boolean, expiration?: Date): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }