import React from 'react'; import { Table } from '@uwdata/flechette'; import { ProfileType } from '@parca/parser'; interface TooltipState { row: number | null; x: number; y: number; } interface TooltipContextValue { table: Table; total: bigint; totalUnfiltered: bigint; profileType?: ProfileType; unit?: string; compareAbsolute: boolean; updateTooltip: (row: number | null, x?: number, y?: number) => void; tooltipState: TooltipState; tooltipId: string; } export declare const useTooltipContext: () => TooltipContextValue; interface TooltipProviderProps { children: React.ReactNode; table: Table; total: bigint; totalUnfiltered: bigint; profileType?: ProfileType; unit?: string; compareAbsolute: boolean; onTooltipUpdate?: (state: TooltipState) => void; tooltipId?: string; } export declare const TooltipProvider: React.FC; export {}; //# sourceMappingURL=TooltipContext.d.ts.map