import { FlameGraphRenderer } from '../../renderer'; import { Profile } from '../../parser'; interface RendererConfig { profile: Profile; width?: number | string; height?: number | string; primaryColor?: string; secondaryColor?: string; backgroundColor?: string; textColor?: string; fontFamily?: string; shadowOpacity?: number; selectedOpacity?: number; hoverOpacity?: number; unselectedOpacity?: number; framePadding?: number; } interface UseFlameGraphRendererResult { rendererRef: React.RefObject; computedHeight: number | null; isScrollable: boolean; initialize: (canvas: HTMLCanvasElement, container: HTMLElement) => boolean; } /** * Custom hook for managing FlameGraph renderer lifecycle and configuration */ export declare function useFlameGraphRenderer(config: RendererConfig): UseFlameGraphRendererResult; export {}; //# sourceMappingURL=useFlameGraphRenderer.d.ts.map