/** * Field names attached by flame utilities to each datapoint before handing the * row to XYChart. Kept as constants so accessors passed to XYChart and reads * inside tooltips stay in lockstep. */ /** * Depth of the frame in the call tree (root = 0). */ export declare const DEPTH_FIELD = "depth"; /** * Index into the original `data` array; used to route tooltip actions back to the caller's row. */ export declare const FLAME_ORIGINAL_IDX = "__flameOriginalIdx"; /** * Derived span duration: `endAccessor - startAccessor`. */ export declare const VALUE_FIELD = "__value"; /** * Normalized start: `startAccessor - minTime`. */ export declare const START_FIELD = "__start"; /** * Normalized end: `endAccessor - minTime`. */ export declare const END_FIELD = "__end"; /** * Number of direct children of a node in the aggregated flame graph. */ export declare const CHILDREN_COUNT_FIELD = "childrenCount"; /** * Normalized self value: the span's exclusive time (or sample count), written * by `aggregateSpansToFlameGraph` and `orderSpansHierarchically` so downstream * readers are independent of the raw accessor path. */ export declare const SELF_VALUE_FIELD = "__selfValue"; export declare const XY_DEFAULTS: { readonly x0Accessor: "x0"; readonly x1Accessor: "x1"; readonly xAxisId: "flame-x-axis"; readonly yAxisId: "flame-y-axis"; }; export declare const DISPLAY_NAME_FLAME_CHART = "FlameChart"; export declare const DISPLAY_NAME_FLAME_GRAPH = "FlameGraph"; /** Default chart height in pixels when the consumer passes a non-pixel height value. */ export declare const DEFAULT_CHART_HEIGHT = 300; /** * Vertical space consumed by the FlameChart's x-axis row plus one OVERLAY_PADDING. * = worst-case single-line x-axis height (20px) + OVERLAY_PADDING (7px). */ export declare const FLAME_CHART_HEIGHT_OVERHEAD_PX = 27; /** * Vertical space consumed by the FlameGraph when both axes are hidden. * Equals 2 × OVERLAY_PADDING (7px each side) = 14px. */ export declare const FLAME_GRAPH_HEIGHT_OVERHEAD_PX = 14; /** Fixed height in pixels for each flame bar row. */ export declare const FRAME_HEIGHT_PX = 16; export declare const DEFAULT_FLAME_CHART_UNIT: [Readonly<{ group: "second"; index: -3; exponent: 1; }>]; export declare const DEFAULT_FLAME_GRAPH_UNIT: [Readonly<{ group: "count"; index: 0; exponent: 1; }>]; //# sourceMappingURL=constants.d.ts.map