import { ColorValue } from 'nanovis'; import { SentryProfileWithTraceMeta } from '../store/types'; import { EventFrame, NanovisTreeNode } from '../types'; interface FlamegraphUtilOptions { getColor?: (frame: EventFrame, depth: number, platform?: string, parent?: NanovisTreeNode) => ColorValue; getLabel?: (frame: EventFrame, depth: number, parent?: NanovisTreeNode) => string; } /** * Converts a Sentry profile to a normalized nanovis tree node for visualization. * This function parses the profile, builds a tree, and then normalizes it for sunburst/flamegraph rendering. * @param profile The Sentry profile with trace metadata. * @param options Optional configuration for customizing the tree. * @returns A promise that resolves to the normalized root node of the tree. */ export declare function convertSentryProfileToNormalizedTree(profile: SentryProfileWithTraceMeta, options?: FlamegraphUtilOptions): Promise; export {};