import { Annotation, Axis, ColorLegend, Svg, Text, Tooltip } from "."; import * as Story from ".."; import * as Chart from "../charts/Chart"; import { InputStep, StoryOptions } from "../types"; export type Getter = { key: string; title: Text.Getter | undefined; subtitle: Text.Getter | undefined; groups: Chart.Getter[]; colorLegends: ColorLegend.Getter[] | undefined; verticalAxis: Axis.Getter | undefined; horizontalAxis: Axis.Getter | undefined; annotations: Annotation.Getter[] | undefined; }; export declare const getters: ({ storyInfo, storyOptions, steps, svg, width, height, }: { storyInfo: Story.Info; storyOptions: StoryOptions; steps: InputStep[]; svg: Svg; width: number; height: number; }) => Getter[]; export type Int = { titles: Text.Int[]; subtitles: Text.Int[]; groups: Chart.Int[]; colorLegends: ColorLegend.Int[]; horizontalAxes: Axis.Int[]; verticalAxes: Axis.Int[]; annotations: Annotation.Int[]; }; export type IntsMap = Map; export declare const intsMap: ({ steps }: { steps: Getter[]; }) => IntsMap; export type Resolved = { titles: Text.Resolved[]; subtitles: Text.Resolved[]; groups: Chart.Resolved[]; colors: ColorLegend.Resolved[]; horizontalAxes: Axis.Resolved[]; verticalAxes: Axis.Resolved[]; annotations: Annotation.Resolved[]; }; export declare const resolve: (ints: Int, t: number) => Resolved; export declare const render: ({ resolved, svg, progressBarColor, tooltip, finished, indicateProgress, }: { resolved: Resolved; svg: Svg; progressBarColor: string; tooltip: Tooltip; finished: boolean; indicateProgress: boolean; }) => void;