import DivaViewHandler from '../../../model/DivaViewHandler';
import { BasketData } from '@crystaldesign/diva-core';
import React from 'react';
import { CheckoutButton } from '@crystaldesign/web-planner-logic';
export { handleMail } from './handleMail';
export type State = 'SHARE' | 'APPOINTMENT' | 'SAVE' | 'ADD_TO_BASKET';
type Props = {
    inModal?: boolean;
    inDrawer?: boolean;
    index?: number;
    viewHandler: DivaViewHandler;
    basket?: BasketData;
    loading?: Promise<boolean>;
};
export type CompProps = {
    config: CheckoutButton;
    basket?: BasketData;
    url: string;
    viewHandler: DivaViewHandler;
    loading: boolean;
    inDrawer?: boolean;
};
declare const Checkout: (({ inModal, inDrawer, index, viewHandler, basket, loading }: Props) => React.JSX.Element | null) & {
    displayName: string;
};
export declare const onClickCheckout: (buttonConfig: CheckoutButton, viewHandler: DivaViewHandler, index: number, t: any, dontCheckForModal?: boolean, savingPromise?: Promise<boolean>) => Promise<void>;
export declare const goBack: (viewHandler: DivaViewHandler, basket?: BasketData, loading?: Promise<boolean>) => void;
export declare const evalVisible: (button: CheckoutButton, viewHandler: DivaViewHandler, from?: "header" | "navigator" | "overview") => boolean;
export default Checkout;
//# sourceMappingURL=index.d.ts.map