import * as ng_zorro_antd_popconfirm from 'ng-zorro-antd/popconfirm'; import * as _angular_core from '@angular/core'; import { ElementRef, TemplateRef, EventEmitter, QueryList } from '@angular/core'; import { Observable, Subject } from 'rxjs'; import { NzButtonType } from 'ng-zorro-antd/button'; import { NzConfigKey } from 'ng-zorro-antd/core/config'; import { NzTSType, NgStyleInterface } from 'ng-zorro-antd/core/types'; import { NzTooltipBaseDirective, NzTooltipTrigger, PropertyMapping, NzToolTipComponent } from 'ng-zorro-antd/tooltip'; type NzAutoFocusType = null | 'ok' | 'cancel'; declare class NzPopconfirmDirective extends NzTooltipBaseDirective { readonly _nzModuleName: NzConfigKey; arrowPointAtCenter?: boolean; title?: NzTSType; titleContext?: object | null; directiveTitle?: NzTSType | null; trigger?: NzTooltipTrigger; placement?: string | string[]; origin?: ElementRef; mouseEnterDelay?: number; mouseLeaveDelay?: number; overlayClassName?: string; overlayStyle?: NgStyleInterface; visible?: boolean; nzBeforeConfirm?: () => Observable | Promise | boolean; nzIcon?: string | TemplateRef; nzCondition: boolean; nzPopconfirmShowArrow: boolean; nzPopconfirmBackdrop?: boolean; nzAutofocus: NzAutoFocusType; nzOkText: _angular_core.InputSignal; nzOkType: _angular_core.InputSignal; nzCancelText: _angular_core.InputSignal; nzOkButtonProps: _angular_core.InputSignal | null>; nzCancelButtonProps: _angular_core.InputSignal | null>; /** * @deprecated v21 * please use the nzOkButton object input to describe option of the ok button */ nzOkDisabled: _angular_core.InputSignalWithTransform; /** * @deprecated v21 * please use the nzOkButton object input to describe option of the ok button */ nzOkDanger: _angular_core.InputSignalWithTransform; private okButtonProps; private cancelButtonProps; directiveContent?: NzTSType | null; content?: NzTSType | null; overlayClickable?: boolean; readonly visibleChange: EventEmitter; readonly nzOnCancel: EventEmitter; readonly nzOnConfirm: EventEmitter; protected getProxyPropertyMap(): PropertyMapping; constructor(); /** * @override */ protected createComponent(): void; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵdir: _angular_core.ɵɵDirectiveDeclaration; static ngAcceptInputType_arrowPointAtCenter: unknown; static ngAcceptInputType_nzCondition: unknown; static ngAcceptInputType_nzPopconfirmShowArrow: unknown; } declare class NzPopconfirmComponent extends NzToolTipComponent { okBtn: QueryList; cancelBtn: QueryList; nzCondition: boolean; nzPopconfirmShowArrow: boolean; nzIcon?: string | TemplateRef; nzAutoFocus: NzAutoFocusType; nzBeforeConfirm: (() => Observable | Promise | boolean) | null; nzOkText: _angular_core.WritableSignal; nzCancelText: _angular_core.WritableSignal; nzOkButtonProps: _angular_core.WritableSignal & { nzType: NzButtonType; }>; nzCancelButtonProps: _angular_core.WritableSignal | null>; readonly nzOnCancel: Subject; readonly nzOnConfirm: Subject; protected _trigger: NzTooltipTrigger; private elementFocusedBeforeModalWasOpened; private document; _prefix: string; confirmLoading: boolean; constructor(); /** * @override */ show(): void; hide(): void; handleConfirm(): void; onCancel(): void; onConfirm(): void; private capturePreviouslyFocusedElement; private restoreFocus; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } declare class NzPopconfirmModule { static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵmod: _angular_core.ɵɵNgModuleDeclaration; static ɵinj: _angular_core.ɵɵInjectorDeclaration; } /** * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE */ interface NzPopConfirmButton { nzType: NzButtonType; nzDanger: boolean; nzDisabled: boolean; } type NzPopConfirmButtonProps = Partial; export { NzPopconfirmComponent, NzPopconfirmDirective, NzPopconfirmModule }; export type { NzAutoFocusType, NzPopConfirmButton, NzPopConfirmButtonProps };