import * as i0 from '@angular/core';
import { Injectable } from '@angular/core';
import * as i1 from 'ngx-cookie-service';

class CookiesService {
    constructor(cookieService) {
        this.cookieService = cookieService;
    }
    setCookie(name, value, expires, path, domain, secure, sameSite) {
        //encryption logic goes here
        this.cookieService.set(name, value, expires, path, domain, secure, sameSite);
    }
    getCookie(name) {
        //decryption logic goes here
        return this.cookieService.get(name);
    }
    getAllCookies() {
        //decryption logic goes here
        return this.cookieService.getAll();
    }
    deleteAllCookies(path, domain, secure, sameSite) {
        this.cookieService.deleteAll(path, domain, secure, sameSite);
    }
    deleteCookie(name, path, domain, secure, sameSite) {
        this.cookieService.delete(name, path, domain, secure, sameSite);
    }
    checkCookie(name) {
        return this.cookieService.check(name);
    }
    static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CookiesService, deps: [{ token: i1.CookieService }], target: i0.ɵɵFactoryTarget.Injectable }); }
    static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CookiesService, providedIn: 'root' }); }
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CookiesService, decorators: [{
            type: Injectable,
            args: [{
                    providedIn: 'root'
                }]
        }], ctorParameters: function () { return [{ type: i1.CookieService }]; } });

/**
 * Generated bundle index. Do not edit.
 */

export { CookiesService };
//# sourceMappingURL=testlocallibrary-shared-kernel-services-cookies.mjs.map
