import { DecoratorFunction } from "storybook/internal/types"; //#region decorators/universal.d.ts /** * Framework-agnostic Storybook decorator for performance monitoring. * * Monitors all non-React metrics: frame timing, input latency, layout shifts, * long tasks, memory, style mutations, forced reflows, and more. * * React render profiling (mount count, update duration, memoization efficiency) * is NOT available in this universal version — use the React-specific decorator * for that. * * @example * // In .storybook/preview.ts (for non-React frameworks) * import type { Preview } from 'storybook' * import { withPerformanceMonitor } from '@github-ui/storybook-addon-performance-panel/preview-universal' * * const preview: Preview = { * decorators: [withPerformanceMonitor], * } * export default preview */ declare const withPerformanceMonitor: DecoratorFunction; //#endregion export { withPerformanceMonitor as t };