/** * Central timing instrumentation for startup profiling. * Enable with the app-specific timing environment variable (for Atomic, ATOMIC_TIMING=1). */ export type TimingLabel = "main" | "extensions"; export interface TimingSpan { label: string; start: number; namespace: TimingLabel; } export declare function isTimingEnabled(): boolean; export declare function resetTimings(namespace?: TimingLabel): void; export declare function time(label: string, namespace?: TimingLabel): void; export declare function startTimingSpan(label: string, namespace?: TimingLabel): TimingSpan | null; export declare function endTimingSpan(span: TimingSpan | null): void; export declare function recordTiming(label: string, ms: number, namespace?: TimingLabel): void; export declare function recordTimeSinceReset(label: string, namespace?: TimingLabel): void; export declare function printTimings(): void; //# sourceMappingURL=timings.d.ts.map