import { TokenApi } from './token-api';
import { CheckoutDeliveryAddressData } from '../components/modular-checkout/types';
import { LegacyCheckoutModel, OrderItemModel } from './legacy-checkout-types';
import { TipserLang } from '..';
export declare class LegacyCheckoutApi {
    private tipserApiUrl;
    private tokenApi;
    constructor(tipserApiUrl: string, tokenApi: TokenApi);
    createCheckout(items: OrderItemModel[], campaignIds: string[], posId: string, merchantUrls: {}, locale: TipserLang, deliveryData?: Partial<CheckoutDeliveryAddressData>, billingData?: Partial<CheckoutDeliveryAddressData>): Promise<LegacyCheckoutModel>;
    updateCheckout(transactionId: string, items: OrderItemModel[], deliveryData: Partial<CheckoutDeliveryAddressData>, billingData: Partial<CheckoutDeliveryAddressData>, posId: string, locale: TipserLang, campaigns?: string[]): Promise<LegacyCheckoutModel>;
    getCheckout(checkoutId: string): Promise<LegacyCheckoutModel>;
    simulateKlarnaPush(checkoutId: string): Promise<unknown>;
    applyPromoCode(promoCode: string): Promise<unknown>;
    removePromoCode(promoCodeId: string): Promise<unknown>;
}
//# sourceMappingURL=legacy-checkout-api.d.ts.map