import React from "react";
import { JDmodalConfigProps } from "../modal/Modal";
import { IUseModal } from "../../hooks/hook";
export declare type SubLine = {
    title: string;
    price: number;
    describe?: string;
};
export declare type PriceLine = {
    title: string;
    price: number;
    sub?: SubLine[];
    describe?: string;
};
interface ICalculaterProp {
    priceLine: PriceLine[];
    shouldShowResult?: boolean;
    lastLine?: PriceLine;
}
declare const PriceViewer: React.FC<ICalculaterProp>;
interface IProp extends ICalculaterProp {
    modalHook: IUseModal<ICalculaterProp>;
    modalProp: JDmodalConfigProps;
}
export declare const CalculateViewerModal: React.FC<IProp>;
export default PriceViewer;
