import { InspectRenderOptions } from './types'; type ErrorArgs = InspectRenderOptions & { name: string; maxRenders: number; }; type ErrorNames = 'maxRenders'; /** * Thrown by {@link PerformanceService.inspectRender} when a component exceeds its allowed * render budget. The error name is always `'Codeleap:Perf'`, making it easy to distinguish * from application errors in React error boundaries or crash-reporting tools. */ export declare class PerformanceError extends Error { constructor(errorName: ErrorNames, args: Partial); } export {}; //# sourceMappingURL=errors.d.ts.map