import React, { PropsWithChildren } from 'react'; import { NewBBox } from '../../../NewBBox'; export declare type Dimensions = { width: number; height: number; }; export declare const extractChannels: (data: any, encodings: any) => any; export declare const reifyScales: (scales: { [x: string]: Scale; }, dimensions: Dimensions) => { [x: string]: any; }; export declare const plotMark: (mark: Mark, scales: { [x: string]: Scale; }, dimensions: Dimensions) => any; export declare type Mark = { data: any; encodings: any; scale: any; render: any; }; export declare type Scale = (dims: Dimensions) => any; export declare type PlotProps = { width: number; height: number; margin: { top: number; right: number; bottom: number; left: number; }; x?: Scale; y?: Scale; color?: Scale; data?: any; }; export declare const renameScales: (scales: { [x: string]: Scale; }) => { [x: string]: any; }; export declare const plotMarkReified: (mark: Mark, scales: { [x: string]: Scale; }, dimensions: Dimensions) => any; export declare type PlotContextValue = { data?: any; dimensions: Dimensions; scales: { [key in string]: Scale; }; }; export declare const PlotContext: React.Context; export declare const Plot: React.FC>; export declare const Plot2: React.ForwardRefExoticComponent | undefined; } & { name?: any; debug?: boolean | undefined; } & React.RefAttributes>; //# sourceMappingURL=Plot.d.ts.map