import * as React from "react";
import { IGXE } from "@intelligentgraphics/igd.core";
import { Basket } from "@intelligentgraphics/igd.productdata";
import { TBomComponentEntry } from "./Types";
declare const BasketComponent: React.FunctionComponent<BasketComponentProps>;
export default BasketComponent;
export interface IBasketViewProps extends BasketComponentState {
}
export interface BasketComponentState {
    items: TBomComponentEntry[];
    total: string;
}
export interface BasketSettings {
    /**
     * Definition of units that should be used for the article properties (doesn't work when useVarText is active)
     *
     * @type {Record<string, IGXE.EPropertyValueUnit>}
     */
    units?: Record<string, IGXE.EPropertyValueUnit>;
    /**
     * The locale property that should be used for article text objects. Will default to session language
     *
     * @type {string}
     */
    locale?: string;
    /**
     * Generates a flat list of items and their subitems instead of a nested tree
     *
     *
     * @type {boolean}
     */
    flatten?: boolean;
    /**
     * Use the backend provided var text instead of a variant definition generated using the property definition
     *
     * @type {boolean}
     */
    useVarText?: boolean;
}
export interface BasketComponentProps extends BasketSettings {
    basket?: Basket;
    /**
     * A functional child component that will be passed a list of items + the total price
     *
     * @type {React.FunctionComponent<IBasketViewProps>}
     */
    children: React.FunctionComponent<IBasketViewProps>;
}
