UNPKG

@spartacus/storefront

Version:

Spartacus Storefront is a package that you can include in your application, which allows you to add default storefront features.

20 lines (19 loc) 939 B
import { EventEmitter, OnInit } from '@angular/core'; import { AnonymousConsent, ConsentTemplate } from '@spartacus/core'; import * as i0 from "@angular/core"; export declare class ConsentManagementFormComponent implements OnInit { consentGiven: boolean; consentTemplate: ConsentTemplate; requiredConsents: string[]; consent: AnonymousConsent; consentChanged: EventEmitter<{ given: boolean; template: ConsentTemplate; }>; constructor(); ngOnInit(): void; onConsentChange(): void; isRequired(templateId: string): boolean; static ɵfac: i0.ɵɵFactoryDeclaration<ConsentManagementFormComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<ConsentManagementFormComponent, "cx-consent-management-form", never, { "consentTemplate": "consentTemplate"; "requiredConsents": "requiredConsents"; "consent": "consent"; }, { "consentChanged": "consentChanged"; }, never, never>; }