-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.d.ts
35 lines (34 loc) · 1.04 KB
/
index.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
import {
Sampler,
SamplerOptions,
InstancesDiagnosticChannelHookData,
SamplesDiagnosticChannelHookData
} from './types/sampler'
import errors from './types/errors'
import { CPUMetric } from './types/cpuMetric'
import { EventLoopDelayMetric } from './types/eventLoopDelayMetric'
import { ResourceUsageMetric } from './types/resourceUsageMetric'
import { EventLoopUtilizationMetric } from './types/eventLoopUtilizationMetric'
import { GCEntry, GCAggregatedEntry, GCMetric } from './types/gcMetric'
import * as constants from './types/constants'
declare namespace doc {
export { errors }
export {
Sampler,
SamplerOptions,
InstancesDiagnosticChannelHookData,
SamplesDiagnosticChannelHookData,
CPUMetric,
EventLoopDelayMetric,
ResourceUsageMetric,
EventLoopUtilizationMetric,
GCEntry,
GCAggregatedEntry,
GCMetric,
constants
}
export const createSampler: (options?: SamplerOptions) => Sampler
export { createSampler as default }
}
declare function doc(options?: doc.SamplerOptions): doc.Sampler
export = doc