import { OnInit, OnDestroy } from '@angular/core';
import { ActiveCartService, Cart, OrderEntry } from '@spartacus/core';
import { Observable, Subscription } from 'rxjs';
import { Router } from '@angular/router';
import * as i0 from "@angular/core";
export declare class CartTotalsComponent implements OnInit, OnDestroy {
    protected activeCartService: ActiveCartService;
    protected router?: Router;
    cart$: Observable<Cart>;
    entries$: Observable<OrderEntry[]>;
    cartValidationInProgress: boolean;
    protected subscription: Subscription;
    /**
     * @deprecated since 4.2
     */
    constructor(activeCartService: ActiveCartService);
    ngOnInit(): void;
    ngOnDestroy(): void;
    disableButtonWhileNavigation(): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<CartTotalsComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<CartTotalsComponent, "cx-cart-totals", never, {}, {}, never, never>;
}
