import { OnInit, OnDestroy, EventEmitter } from '@angular/core'; import { PaymentLinksService } from '../../services/payment-links.service'; import { PaymentMode, PaymentLinkSummary, PaymentUrlReadyEvent, PaymentCompletedEvent } from '../../models'; import * as i0 from "@angular/core"; /** * Payment Link Alert Component * * Displays a ribbon alert when customer has unpaid payment links. * Supports three payment modes: new-window, redirect, iframe. * * @example * ```html * * * ``` */ export declare class PaymentLinkAlertComponent implements OnInit, OnDestroy { private paymentLinksService; private destroy$; customerId: string; autoCheck: boolean; refreshInterval?: number; paymentMode: PaymentMode; autoRefreshAfterPayment: boolean; dismissable: boolean; showOneTimeLinks: boolean; paymentLinkClicked: EventEmitter; paymentUrlReady: EventEmitter; dismissed: EventEmitter; linksLoaded: EventEmitter; paymentCompleted: EventEmitter; summary: PaymentLinkSummary | null; loading: boolean; error: string | null; isDismissed: boolean; showSuccessMessage: boolean; constructor(paymentLinksService: PaymentLinksService); ngOnInit(): void; ngOnDestroy(): void; /** * Check URL parameters for payment completion redirect */ private checkPaymentCompletion; /** * Fetch pending payment links for the customer */ checkPendingPaymentLinks(): void; /** * Handle "Pay Now" button click */ handlePayNow(): void; /** * Handle dismiss button click */ handleDismiss(): void; /** * Get display-friendly count message */ get countMessage(): string; /** * Get formatted amount */ get formattedAmount(): string; /** * Check if component should be visible */ get isVisible(): boolean; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }