import { Observable } from 'rxjs/internal/Observable'; import type { FormControl } from "@e-xisto/form-control"; import type { CartService } from '@src/services/cart.service'; import type { AccountService } from './account.service'; import type { CustomerService } from './customer.service'; import { BillingAddress, ShippingAddress } from '@src/models/addresses-models'; export declare class CheckoutService { #private; readonly change$: Observable; get billingAddress(): BillingAddress; get customerOrder(): string; get notes(): string; get paymentAddress(): boolean; get paymentMethod(): PaymentMethod; get settings(): Promise; get status(): CheckoutStatus; get shippingAddress(): ShippingAddress; get shippingMethod(): ShippingMethod; get steps(): Set; get taxAmount(): number; get total(): number; get envioUrgente(): boolean; get envioParcial(): boolean; constructor(cartService: CartService, customer: CustomerService, account: AccountService); aplazameSettings(methodId: number): Observable; private getShippingAddress; paymentForm(formElement: HTMLFormElement, paymentMethods: Array, editAddress: boolean): Observable<{ form: FormControl; addresses: Array; }>; paymentSet(form: FormControl, payments: Array): Observable; paypalSettings(methodId: number): Observable; private restoreStorage; setStatus(newStatus: CheckoutStatus): void; stripeSettings(methodId: number): Observable; formSignIn(form: HTMLFormElement): FormControl; signInSubmit(_form: FormControl): void; close(): void; open(): void; shippingMethodForm(formElement: HTMLFormElement, shippingMethods: Array): FormControl; shippingMethodSet(form: FormControl, methods: Array, cartService: CartService, gotoPayment: boolean): void; changeShippingMethod(cartService: CartService, methods: Array, shippingMethodId: number): void; stripePayment(orderId: number, hash: string): Observable; stripePaymentConfirm(orderId: number, paymentId: string): Observable; clearOrder(): void; paypalApprobe(data: any): Observable; updateTotal(cartService: CartService, changeNotification: boolean): void; shippingMethods(): Observable | false>; shippingAddressForm(formElement: HTMLFormElement, editAddress: boolean, skipShippingAndPayment: boolean): Observable<{ form: FormControl; addresses: Array; }>; shippingAddressSet(form: FormControl): void; updateState(saveState: boolean, checkoutString: string): void; private saveStorage; }