import React from 'react'; import { FlamegraphArrow } from '@parca/client'; import { ProfileType } from '@parca/parser'; import { MergedProfileSource, ProfileSource } from '../ProfileSource'; import { CurrentPathFrame } from './FlameGraphArrow/utils'; export type ResizeHandler = (width: number, height: number) => void; interface ProfileFlameGraphProps { width: number; arrow?: FlamegraphArrow; total: bigint; filtered: bigint; profileType?: ProfileType; profileSource: ProfileSource; curPathArrow: CurrentPathFrame[] | []; setNewCurPathArrow: (path: CurrentPathFrame[]) => void; loading: boolean; setActionButtons?: (buttons: React.JSX.Element) => void; error?: any; isHalfScreen: boolean; metadataMappingFiles?: string[]; metadataLoading?: boolean; isFlameChart?: boolean; isInSandwichView?: boolean; isRenderedAsFlamegraph?: boolean; tooltipId?: string; maxFrameCount?: number; isExpanded?: boolean; zoomControlsRef?: React.RefObject; } export declare const validateFlameChartQuery: (profileSource: MergedProfileSource) => { isValid: boolean; isNonDelta: boolean; isDurationTooLong: boolean; }; declare const ProfileFlameGraph: ({ arrow, total, filtered, curPathArrow, setNewCurPathArrow, profileType, loading, error, width, isHalfScreen, metadataMappingFiles, isFlameChart, profileSource, isInSandwichView, isRenderedAsFlamegraph, tooltipId, maxFrameCount, isExpanded, metadataLoading, zoomControlsRef, }: ProfileFlameGraphProps) => JSX.Element; export default ProfileFlameGraph; //# sourceMappingURL=index.d.ts.map