import { EventEmitter } from '@angular/core'; import type { ListDelta } from '@memberjunction/lists-base'; import * as i0 from "@angular/core"; /** * Confirmation dialog for any list operation that produced a `ListDelta` * preview. This is the **only** UI path that emits a valid `DeltaToken` * onward to `applyListDelta` — every mutating list flow funnels through * here. * * Two visual states: * * - **Safe** (`Delta.Counts.Remove === 0`): green confirmation banner; the * primary button is enabled immediately. * - **Drop-warning** (`Delta.Counts.Remove > 0`): red header + warning * banner; the primary button stays disabled until the user checks the * acknowledgement box. The server still rejects with `DROP_NOT_CONFIRMED` * if `ConfirmDrops` is false — this UI gate is a convenience, not the * source of truth. */ export declare class ListDeltaConfirmComponent { /** * Whether the dialog is rendered. Bound via the same getter/setter * pattern used by the sibling share dialog so consumers can drive * visibility from a parent state machine. */ get Visible(): boolean; set Visible(value: boolean); private _visible; /** The delta to confirm. Required — the component renders nothing useful without it. */ Delta: ListDelta | null; /** * Human-readable name of the target list. Optional; the dialog falls * back to "this list" if not provided. */ TargetListName: string | null; /** * Optional descriptor of the source for display ("Q4 Donor View", etc.). * Has no functional effect — purely for the warning copy. */ SourceLabel: string | null; /** * How many preview records to render in the "first N of …" lists. * Larger deltas could otherwise blow up the DOM. */ PreviewLimit: number; /** Fires when the user confirms — payload is the validated delta token. */ Confirm: EventEmitter; /** Fires when the user cancels (close button, ESC, or Cancel button). */ Cancel: EventEmitter; /** Local UI state for the acknowledgement checkbox in drop-warning mode. */ dropAcknowledged: boolean; get hasDrops(): boolean; get canConfirm(): boolean; get previewAdds(): string[]; get previewRemoves(): string[]; get confirmButtonLabel(): string; get targetDisplayName(): string; OnConfirm(): void; OnCancel(): void; OnAcknowledgementToggle(value: boolean): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } //# sourceMappingURL=list-delta-confirm.component.d.ts.map