import normalizePositions = require("./normalize-positions"); import { Event, EventSpan, ParseResult } from "./parse-trace-file"; export declare function buildHotPathsTree(parseResult: ParseResult, thresholdDuration: number, minPercentage: number): EventSpan; declare type LineChar = normalizePositions.LineChar; export declare type PositionMap = Map>; export declare function getNormalizedPositions(root: EventSpan, relatedTypes: readonly Map[] | undefined): Promise; export declare function getLineCharMapKey(line: number, char: number): string; export interface TypeSource { typesPath: string; checkerId?: number; } export declare type TypeSources = readonly TypeSource[]; export declare function getPackageVersion(packagePath: string): Promise; export declare function unmangleCamelCase(name: string): string; export declare function getTypes(typesPath: string): Promise; export interface EmittedImport { name: string; count: number; } export declare function getEmittedImports(dtsPath: string, importExpressionThreshold: number): Promise; export declare type RelatedTypes = Map>; export declare function getRelatedTypes(root: EventSpan, typeSources: TypeSources, leafOnly: boolean): Promise; export declare function getRelatedTypesForEvent(relatedTypes: RelatedTypes | undefined, typeSources: TypeSources | undefined, event: Event): Map | undefined; export declare function getAllRelatedTypes(relatedTypes: RelatedTypes | undefined): Map[] | undefined; export {};