import React from 'react'; import { FlamegraphArrow } from '@parca/client'; import { ProfileType } from '@parca/parser'; import { type ColorConfig } from '@parca/utilities'; import { ProfileSource } from '../../ProfileSource'; import { colorByColors } from './FlameGraphNodes'; import { CurrentPathFrame } from './utils'; export declare const FIELD_LABELS_ONLY = "labels_only"; export declare const FIELD_MAPPING_FILE = "mapping_file"; export declare const FIELD_MAPPING_BUILD_ID = "mapping_build_id"; export declare const FIELD_LOCATION_ADDRESS = "location_address"; export declare const FIELD_LOCATION_LINE = "location_line"; export declare const FIELD_INLINED = "inlined"; export declare const FIELD_TIMESTAMP = "timestamp"; export declare const FIELD_DURATION = "duration"; export declare const FIELD_GROUPBY_METADATA = "groupby_metadata"; export declare const FIELD_FUNCTION_NAME = "function_name"; export declare const FIELD_FUNCTION_SYSTEM_NAME = "function_system_name"; export declare const FIELD_FUNCTION_FILE_NAME = "function_file_name"; export declare const FIELD_FUNCTION_START_LINE = "function_startline"; export declare const FIELD_CHILDREN = "children"; export declare const FIELD_LABELS = "labels"; export declare const FIELD_CUMULATIVE = "cumulative"; export declare const FIELD_FLAT = "flat"; export declare const FIELD_DIFF = "diff"; export declare const FIELD_PARENT = "parent"; export declare const FIELD_DEPTH = "depth"; export declare const FIELD_VALUE_OFFSET = "value_offset"; interface FlameGraphArrowProps { arrow: FlamegraphArrow; total: bigint; filtered: bigint; profileType?: ProfileType; profileSource: ProfileSource; width?: number; curPath: CurrentPathFrame[]; setCurPath: (path: CurrentPathFrame[]) => void; isHalfScreen: boolean; mappingsListFromMetadata: string[]; filenamesListFromMetadata: string[]; colorBy: string; compareAbsolute: boolean; isFlameChart?: boolean; isRenderedAsFlamegraph?: boolean; isInSandwichView?: boolean; tooltipId?: string; maxFrameCount?: number; isExpanded?: boolean; zoomControlsRef?: React.RefObject; } export declare const getMappingColors: (mappingsList: string[], isDarkMode: boolean, currentColorProfile: ColorConfig) => colorByColors; export declare const getFilenameColors: (filenamesList: string[], isDarkMode: boolean, currentColorProfile: ColorConfig) => colorByColors; export declare const FlameGraphArrow: React.NamedExoticComponent; export default FlameGraphArrow; //# sourceMappingURL=index.d.ts.map