import { InspectRenderOptions } from './types'; import { LoggerConfig } from '../../types'; export * from './types'; /** * Dev-only performance utilities. All methods are no-ops in production * (`config.Environment.IsDev === false`) or when * `config.Logger.performanceInspector.enabled` is `false`. */ export declare class PerformanceService { private config; renderCounter: Record; constructor(config: LoggerConfig); /** * Tracks render frequency for a component and warns when it exceeds the configured threshold. * * Call this at the top of a function component body (not inside a hook). By default it also * registers mount/unmount effects via `useEffect` — pass `noHooks: true` to skip those when * the component cannot accept additional hooks. * * When the accumulated render count within a `throttleInterval` window exceeds `maxRenders`, * the counter resets and a {@link PerformanceError} is thrown (surfacing as a React error * boundary hit rather than a silent warning). * * Components whose names start with any entry in * `config.Logger.performanceInspector.blacklist` are silently skipped. * * Has no effect outside a dev environment or when the inspector is disabled in config. */ inspectRender: (name: string, options?: InspectRenderOptions) => void; } //# sourceMappingURL=index.d.ts.map