1 | export type InstrumentHandlerType = 'console' | 'dom' | 'fetch' | 'history' | 'xhr' | 'error' | 'unhandledrejection';
|
2 | export type InstrumentHandlerCallback = (data: any) => void;
|
3 |
|
4 | export declare function addHandler(type: InstrumentHandlerType, handler: InstrumentHandlerCallback): void;
|
5 |
|
6 |
|
7 |
|
8 |
|
9 | export declare function resetInstrumentationHandlers(): void;
|
10 |
|
11 | export declare function maybeInstrument(type: InstrumentHandlerType, instrumentFn: () => void): void;
|
12 |
|
13 | export declare function triggerHandlers(type: InstrumentHandlerType, data: unknown): void;
|
14 |
|
\ | No newline at end of file |