import { OnInit, TemplateRef } from "@angular/core";
import { Router } from "@angular/router";
import { BsModalService } from "ngx-bootstrap/modal";
import { BsModalRef } from 'ngx-bootstrap/modal/bs-modal-ref.service';
import { Constants } from "../../core.consts";
import { AuthService } from '../../services/auth.service';
import { ProductsService } from '../../services/products/products.service';
import { CartService } from '../../services/cart.service';
import { ComponentHelper } from "../../classes/component-helper";
import { ToastService } from "../../utils/toast.service";
export declare class CartEcComponent extends ComponentHelper implements OnInit {
    cartService: CartService;
    authService: AuthService;
    protected consts: Constants;
    productsService: ProductsService;
    router: Router;
    modalService: BsModalService;
    protected toastrService: ToastService;
    isLoggedIn: boolean;
    mediaUrl: string;
    modalRef: BsModalRef | null;
    promotions: any[];
    constructor(cartService: CartService, authService: AuthService, consts: Constants, productsService: ProductsService, router: Router, modalService: BsModalService, toastrService: ToastService);
    ngOnChanges(): void;
    updateLoggedIn(): void;
    ngOnInit(): void;
    toDecimal: (amount: any) => any;
    actualizarCantidad: (item: any, cantidad: any, stock: any) => void;
    redirectCheckout: () => Promise<boolean>;
    redirectRegister: () => Promise<boolean>;
    openModal(template: TemplateRef<any>): void;
    redirectDetailProduct(product: any): void;
}
