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;
};
export interface ICalculaterProp {
    /** 상품에  대한 정보 */
    priceLine: PriceLine[];
    /** 결과를 보여줄지 결정 */
    shouldShowResult?: boolean;
    /** 마지막라인 */
    lastLine?: PriceLine;
}
export 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;
