interface TraceQueryResult {
    columns: string[];
    rows: any[][];
    error?: string;
}
interface TraceInfo {
    totalTimeNs: number;
    numCpus: number;
    numGpus: number;
    numProcessNames: number;
    numThreads: number;
}
declare class PerfettoService {
    private wasmPath;
    private traceProcessorShell;
    constructor();
    /**
     * Execute SQL query on a trace file using the actual Perfetto Trace Processor
     */
    executeQuery(traceFilePath: string, sqlQuery: string): Promise<TraceQueryResult>;
    /**
     * Get metadata about the trace
     */
    getTraceInfo(traceFilePath: string): Promise<TraceInfo>;
    /**
     * Get table schema information
     */
    getTableSchema(): Promise<any[]>;
    /**
     * Analyze trace for common performance issues
     */
    analyzeTraceForPerformanceIssues(traceFilePath: string): Promise<any[]>;
    /**
     * Convert trace to other format (e.g., JSON)
     */
    convertTrace(traceFilePath: string, outputPath: string, format: 'json' | 'csv'): Promise<void>;
}
export default PerfettoService;
//# sourceMappingURL=perfettoService.d.ts.map