import { EventEmitter } from '../../stencil-public-runtime'; /** * Consent opt-in screen — gates the chat until the mandatory Terms checkbox * is accepted and the server confirms (parent owns the network call; this * component is presentation + a11y only). * * Frozen design variants (spec §3.1): highlighted hierarchy, compact density, * gray disabled button. */ export declare class EoConsent { /** * True when the user already accepted an older Terms version — swaps the * description for the revision notice (widget-14). False (the default, and * what servers without the `reconsent` field yield) keeps the * first-acceptance copy. */ reconsent: boolean; /** True while the parent awaits the server's 201 — locks controls, shows spinner. */ saving: boolean; /** True when the last accept attempt failed — renders the error banner. */ error: boolean; termsChecked: boolean; /** * Both boxes ALWAYS start unchecked, re-collection included. The v2.0 * optional consent is materially broader than v1.0's (personalized ads + * exclusive news vs. product news only), so carrying the previous choice * over would record a consent the user never gave — hence no prefill. * Reintroduce one only if a future revision leaves this label untouched. */ commsChecked: boolean; eoConsentAccept: EventEmitter<{ comms: boolean; }>; eoConsentCancel: EventEmitter; el: HTMLElement; private termsInputEl; componentDidLoad(): void; disconnectedCallback(): void; /** * Tab/Shift+Tab cycle only inside the card (spec §3.1) — the drawer trap * can't provide this: its scope is the whole drawer (header included) and * it resolves the active element at document level, which shadow DOM masks. */ private handleTrapKeydown; private handleContinue; private handleCancel; private renderCheckIcon; render(): any; }