export interface FramesOptions { readonly count: number; readonly until: string | undefined; readonly waitMs: number; readonly measureMs: number; } export interface RawFrames { readonly intervals: readonly number[]; readonly ready: boolean; readonly waitedMs: number; readonly untilError?: string; readonly stalled: boolean; readonly visibility: string; readonly focused: boolean; readonly devicePixelRatio: number; readonly viewport: readonly [number, number]; readonly gpu: GpuInfo; } export interface GpuMissing { readonly found: false; readonly why: string; } export interface GpuInfo { readonly webgpu: { readonly found: true; readonly vendor: string; readonly architecture: string; readonly device: string; readonly description: string; readonly fallback: boolean; } | GpuMissing; readonly webgl: { readonly found: true; readonly vendor: string; readonly renderer: string; } | GpuMissing; } export declare const STALL_MS = 5000; export declare const framesScript: (options: FramesOptions) => string; export interface FrameStats { readonly frames: number; readonly p50Ms: number; readonly p95Ms: number; readonly maxMs: number; readonly meanFps: number; readonly hitches: number; } export declare const frameStats: (intervals: readonly number[]) => FrameStats | undefined; //# sourceMappingURL=frames.d.ts.map