import { BusContext, BusMessage, BusSubscriber } from '../../core/bus';
import { Logger } from '../../util/logger';
export declare class PaypalBusSubscriber extends BusSubscriber {
    logger: Logger;
    constructor(logger: Logger);
    actionNames(): string[];
    private onEventCallback;
    protected renderPaypalButton(context: BusContext, message: BusMessage): Promise<never>;
    private appendPaypalLoading;
    private removePaypalLoading;
    private preCheck;
    private loadPaypalResource;
    private createPaypalScript;
    private onShippingChange;
    private createOrder;
    private onApprove;
    private onCancel;
    private destroyComponent;
    onMessage(context: BusContext, message: BusMessage): void;
}
