import { ElementRef, OnDestroy, OnInit } from '@angular/core';
import { GlobalMessageService, UserReplenishmentOrderService } from '@spartacus/core';
import { FocusConfig } from '../../../layout/a11y/keyboard-focus/keyboard-focus.model';
import { LaunchDialogService } from '../../../layout/launch-dialog/services/launch-dialog.service';
import * as i0 from "@angular/core";
/**
 * @deprecated since 4.2 - use order lib instead
 */
export declare class ReplenishmentOrderCancellationDialogComponent implements OnInit, OnDestroy {
    protected userReplenishmentOrderService: UserReplenishmentOrderService;
    protected globalMessageService: GlobalMessageService;
    protected launchDialogService: LaunchDialogService;
    protected el: ElementRef;
    private subscription;
    replenishmentOrderCode: string;
    focusConfig: FocusConfig;
    handleClick(event: UIEvent): void;
    constructor(userReplenishmentOrderService: UserReplenishmentOrderService, globalMessageService: GlobalMessageService, launchDialogService: LaunchDialogService, el: ElementRef);
    ngOnInit(): void;
    onSuccess(value: boolean): void;
    close(reason: string): void;
    cancelReplenishment(): void;
    ngOnDestroy(): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<ReplenishmentOrderCancellationDialogComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<ReplenishmentOrderCancellationDialogComponent, "cx-replenishment-order-cancellation-dialog", never, {}, {}, never, never>;
}
