import type { TWebAssemblyChart } from "../../Charting/Visuals/SciChartSurface"; import type { ISciChart2DDefinition } from "../types/SurfaceDefinitions"; /** * Registration-free 2D chart building. Referenced types must be registered first — for a bare * definition that means at least `registerNumericAxis()` (the default axes) plus whatever series, * modifier and annotation types the definition uses. See `Builder/register/*`. */ /** * Construct a chart with {@link SciChartSurface} using a {@link ISciChart2DDefinition} which can be pure data. * @remarks This method is async and must be awaited * @param divElementId The Div Element ID where the {@link SciChartSurface} will reside * @param definition the {@link ISciChart2DDefinition} */ export declare const build2DChart: (divElementId: string | HTMLDivElement, definition: ISciChart2DDefinition | string) => Promise;