/** * This function returns an object that needs to be spread onto the same * element as the `elementRef`, so that the data attribute is applied * correctly. */ export declare function usePerformanceMarks(name: string, enabled: () => boolean, elementRef: React.RefObject, getDetails: () => Record, dependencies: React.DependencyList): { [x: string]: string | undefined; };