/** * Registers every built-in type with the class factory, so any `{ type, options }` definition can be * built — including types whose classes your code never imports. * * **You usually do not need this.** Every built-in class registers itself when its module is in your * bundle, so a definition or a `toJSON()` round-trip referencing a type you construct anywhere in * your app resolves with no registration call: * * ```ts * import { FastLineRenderableSeries, build2DChart } from "scichart"; * * const series = new FastLineRenderableSeries(wasmContext); // the class is in the bundle... * await build2DChart(rootId, surface.toJSON()); // ...so its type resolves here * ``` * * What it is still for: definitions that name a type only as a string, where nothing imports the * class. A type string cannot pull code into a bundle, so those types have to be registered * explicitly — either with this function, or with the narrower per-type and per-family functions * exported from `scichart` and importable from `scichart/Builder/register/*`: * * ```ts * import { registerAllTypes, build2DChart } from "scichart"; * * registerAllTypes(); // nothing above imports FastLineRenderableSeries * await build2DChart(rootId, { series: { type: ESeriesType.LineSeries } }); * ``` * * Prefer the per-type functions where you can: this one pulls the complete type universe into your * bundle, roughly doubling its size. * @param overWrite Whether to replace an existing registration for the same type. Default true. */ export declare function registerAllTypes(overWrite?: boolean): void;