1 |
|
2 | import { readFile, readdir } from 'node:fs';
|
3 | import type { AppContext, DeviceContext } from '@sentry/core';
|
4 | export declare const readFileAsync: typeof readFile.__promisify__;
|
5 | export declare const readDirAsync: typeof readdir.__promisify__;
|
6 | interface DeviceContextOptions {
|
7 | cpu?: boolean;
|
8 | memory?: boolean;
|
9 | }
|
10 | interface ContextOptions {
|
11 | app?: boolean;
|
12 | os?: boolean;
|
13 | device?: DeviceContextOptions | boolean;
|
14 | culture?: boolean;
|
15 | cloudResource?: boolean;
|
16 | }
|
17 |
|
18 |
|
19 |
|
20 | export declare const nodeContextIntegration: (options?: ContextOptions | undefined) => import("@sentry/core").Integration;
|
21 |
|
22 |
|
23 |
|
24 | export declare function getAppContext(): AppContext;
|
25 |
|
26 |
|
27 |
|
28 | export declare function getDeviceContext(deviceOpt: DeviceContextOptions | true): DeviceContext;
|
29 | export {};
|
30 |
|
\ | No newline at end of file |