import type { LineData } from "lightweight-charts";
import type { Volume } from "./Candle";
type DataType = "price" | "volume" | "percent";
export interface Line {
    color?: {
        default?: string;
        up?: string;
        down?: string;
        theme?: string;
    };
    field?: {
        time?: string;
        value?: string;
        volume?: string;
    };
    data?: LineData[];
    volume?: Volume[];
    up?: string;
    down?: string;
    type?: DataType | {
        line?: DataType;
        histogram?: DataType;
    };
    format?: Function | {
        line?: Function;
        histogram?: Function;
    };
    unit?: string | {
        line?: string;
        histogram?: string;
    };
    fallback?: any;
    style?: any;
    fit?: boolean;
}
export declare const Line: (props: Line) => import("react").JSX.Element;
declare const _default: import("react").MemoExoticComponent<(props: Line) => import("react").JSX.Element>;
export default _default;
//# sourceMappingURL=Line.d.ts.map