UNPKG

@zendesk/retrace

Version:

define and capture Product Operation Traces along with computed metrics with an optional friendly React beacon API

4 lines (3 loc) 397 B
import type { ActionLogExternalApi, GetExternalApiConfiguration } from './types'; /** used to generate timing API that can be used outside of React, or together with React */ export declare const getExternalApi: <CustomMetadata extends Record<string, unknown>>({ actionLogCache, idPrefix, placement, }: GetExternalApiConfiguration<string, CustomMetadata>) => ActionLogExternalApi<CustomMetadata>;