import * as React from "react"; export interface VolumeProfileSeriesProps { readonly absoluteChange: (datum: any) => number; readonly bins: number; readonly bySession?: boolean; readonly fill?: (widthType: { type: "up" | "down"; width: number; }) => string; readonly maxProfileWidthPercent: number; readonly orient?: "left" | "right"; readonly partialStartOK?: boolean; readonly partialEndOK?: boolean; readonly sessionBackGround?: string; readonly sessionStart: ({ d, i, plotData }: any) => boolean; readonly showSessionBackground?: boolean; readonly source: (d: number, i: number, data: ArrayLike) => number; readonly stroke?: string; readonly volume: (datum: any) => number; } export declare class VolumeProfileSeries extends React.Component { static defaultProps: { absoluteChange: (d: any) => any; bins: number; bySession: boolean; fill: ({ type }: { type: "up" | "down"; width: number; }) => "rgba(38, 166, 154, 0.5)" | "rgba(239, 83, 80, 0.5)"; maxProfileWidthPercent: number; orient: string; partialStartOK: boolean; partialEndOK: boolean; sessionBackGround: string; sessionStart: ({ d, i, plotData }: any) => boolean; showSessionBackground: boolean; source: (d: any) => any; stroke: string; volume: (d: any) => any; }; render(): JSX.Element; private readonly drawOnCanvas; private readonly drawOnCanvasContext; private readonly helper; }