import * as _angular_core from '@angular/core';
/**
* @license
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE
*/
type WrPopconfirmPosition = 'top' | 'bottom' | 'left' | 'right';
/**
* Small "Are you sure?" panel anchored to its trigger. Fires `confirmed`
* or `cancelled` and closes automatically. Built on CDK Overlay.
*
* @example
* ```html
* Delete
* ```
*
* @see https://ngwr.dev/components/popconfirm
*/
declare class WrPopconfirm {
/** Confirmation message. */
readonly message: _angular_core.InputSignal;
/** Anchor side. @default 'top' */
readonly position: _angular_core.InputSignal;
/** Label for the confirm button. @default 'Confirm' */
readonly confirmText: _angular_core.InputSignal;
/** Label for the cancel button. @default 'Cancel' */
readonly cancelText: _angular_core.InputSignal;
/** Color of the confirm button. @default 'primary' */
readonly confirmColor: _angular_core.InputSignal<"primary" | "secondary" | "success" | "warning" | "danger" | "light" | "medium" | "dark">;
/** Fires when the user clicks confirm. */
readonly confirmed: _angular_core.OutputEmitterRef;
/** Fires when the user clicks cancel or dismisses the overlay. */
readonly cancelled: _angular_core.OutputEmitterRef;
private readonly host;
private readonly overlay;
private readonly vcr;
private readonly scrollStrategies;
private readonly destroyRef;
private overlayRef;
constructor();
/** @internal */
protected toggle(event: MouseEvent): void;
open(): void;
close(): void;
private dismiss;
private dispose;
static ɵfac: _angular_core.ɵɵFactoryDeclaration;
static ɵdir: _angular_core.ɵɵDirectiveDeclaration;
}
/**
* Confirmation panel rendered inside the popconfirm overlay. Not part
* of the public template API — use `[wrPopconfirm]` instead.
*
* @internal
*/
declare class WrPopconfirmPanel {
readonly message: _angular_core.InputSignal;
readonly confirmText: _angular_core.InputSignal;
readonly cancelText: _angular_core.InputSignal;
readonly confirmColor: _angular_core.InputSignal<"primary" | "secondary" | "success" | "warning" | "danger" | "light" | "medium" | "dark">;
readonly confirmed: _angular_core.OutputEmitterRef;
readonly cancelled: _angular_core.OutputEmitterRef;
static ɵfac: _angular_core.ɵɵFactoryDeclaration;
static ɵcmp: _angular_core.ɵɵComponentDeclaration;
}
export { WrPopconfirm, WrPopconfirmPanel };
export type { WrPopconfirmPosition };