Project

General

Profile

1
/**
2
 * A scope function for the Web Tracing Framework (WTF).
3
 *
4
 * @experimental
5
 */
6
export interface WtfScopeFn {
7
    (arg0?: any, arg1?: any): any;
8
}
9
export interface Range {
10
}
11
export interface Scope {
12
    (...args: any[]): any;
13
}
14
export declare function detectWTF(): boolean;
15
export declare function createScope(signature: string, flags?: any): any;
16
export declare function leave<T>(scope: Scope): void;
17
export declare function leave<T>(scope: Scope, returnValue?: T): T;
18
export declare function startTimeRange(rangeType: string, action: string): Range;
19
export declare function endTimeRange(range: Range): void;
(2-2/2)