1 | import type { Selection } from 'd3';
|
2 | import type { Diagram } from '../../Diagram.js';
|
3 | import type { MermaidConfig } from '../../config.type.js';
|
4 | interface TimelineTask {
|
5 | id: number;
|
6 | section: string;
|
7 | type: string;
|
8 | task: string;
|
9 | score: number;
|
10 | events: string[];
|
11 | }
|
12 | export declare const draw: (text: string, id: string, version: string, diagObj: Diagram) => void;
|
13 | export declare const drawTasks: (diagram: Selection<SVGElement, unknown, null, undefined>, tasks: TimelineTask[], sectionColor: number, masterX: number, masterY: number, maxTaskHeight: number, conf: MermaidConfig, maxEventCount: number, maxEventLineLength: number, maxSectionHeight: number, isWithoutSections: boolean) => void;
|
14 | export declare const drawEvents: (diagram: Selection<SVGElement, unknown, null, undefined>, events: string[], sectionColor: number, masterX: number, masterY: number, conf: MermaidConfig) => number;
|
15 | declare const _default: {
|
16 | setConf: () => void;
|
17 | draw: (text: string, id: string, version: string, diagObj: Diagram) => void;
|
18 | };
|
19 | export default _default;
|