import type { FlamegraphAnalysis, FlamegraphAnalyzeOptions, FlamegraphAvailability, FlamegraphPerfettoSummaryRow } from './flamegraphTypes';
import type { TraceProcessorService } from './traceProcessorService';
export declare function getFlamegraphAvailability(traceProcessorService: TraceProcessorService, traceId: string): Promise<FlamegraphAvailability>;
export declare function buildFlamegraphFromPerfettoSummaryRows(rows: FlamegraphPerfettoSummaryRow[], params?: {
    sampleCount?: number;
    sourceTable?: string;
    warnings?: string[];
    truncated?: boolean;
    maxNodes?: number;
    analyzerEngine?: 'rust' | 'typescript-fallback';
    analyzerCommand?: string;
}): FlamegraphAnalysis;
export declare function analyzeFlamegraph(traceProcessorService: TraceProcessorService, traceId: string, rawOptions?: FlamegraphAnalyzeOptions): Promise<FlamegraphAnalysis>;
//# sourceMappingURL=flamegraphAnalyzer.d.ts.map