import type { RawRecords } from './types'; export declare class Performance { #private; /** * mark a performance point */ mark(name: string): PerformanceMark; /** * measure the time between two marks */ measure(name: string, start: string, end: string): number; /** * execute a function and measure the time */ evaluate(name: string, fn: () => Promise): Promise; /** * Collect frame data */ frame(): void; /** * Stop collecting frame data */ frameStop(): void; /** * Clear frame data */ frameReset(): void; /** * Reset all performance data */ reset(): void; /** * Export performance results */ export(reset?: boolean): RawRecords; }