import { Plot } from '../../plots';
import { Scale, Domain } from '../../common/interfaces';
import { PlotOptions } from '../../plots/interfaces';
import { PlotFactory, PlotCreatorFunction } from './interfaces';
export declare function patchPlotOptions(options: PlotOptions): PlotOptions;
/**
 * Creates a d3 scale from config
 */
export declare function createScale(type: string, domain: Domain): Scale;
/**
 * Returns a plot creator function for a specified plot type
 */
export declare function createPlotType(PlotType: {
    new (id: string | number, options: PlotOptions): Plot;
}): PlotCreatorFunction;
/**
 * Dictionary of plot creator functions for available plot types.
 * You may pass your own factory dictionary if you need to support
 * custom plot types not part of this lib.
 */
export declare const plotFactory: PlotFactory;
