UNPKG

react-native-onyx

Version:

State management for React Native

21 lines (20 loc) 1.59 kB
declare const PerformanceProxy: { timeOrigin: number; now: () => number; mark: (markName: string, markOptions?: import("react-native-performance/lib/typescript/performance").MarkOptions | undefined) => import("react-native-performance").PerformanceMark; clearMarks: (name?: string | undefined) => void; measure: (measureName: string, startOrMeasureOptions?: import("react-native-performance/lib/typescript/performance").StartOrMeasureOptions, endMark?: string | number | undefined) => import("react-native-performance").PerformanceMeasure; clearMeasures: (name?: string | undefined) => void; metric: (name: string, valueOrOptions: import("react-native-performance/lib/typescript/performance").ValueOrOptions) => import("react-native-performance").PerformanceMetric; clearMetrics: (name?: string | undefined) => void; getEntries: () => import("react-native-performance").PerformanceEntry[]; getEntriesByName: (name: string, type?: import("react-native-performance").EntryType | undefined) => import("react-native-performance").PerformanceEntry[]; getEntriesByType: { (type: "measure"): import("react-native-performance").PerformanceMeasure[]; (type: "mark"): import("react-native-performance").PerformanceMark[]; (type: "resource"): import("react-native-performance").PerformanceResourceTiming[]; (type: "metric"): import("react-native-performance").PerformanceMetric[]; (type: "react-native-mark"): import("react-native-performance").PerformanceReactNativeMark[]; }; }; export default PerformanceProxy;