export declare namespace Tracer2 { export interface TracerFunction { (delegate: () => T): T; (delegate: () => Promise): Promise; } export interface TracerLogger { readonly info: (msg: string) => void; readonly warn: (msg: string) => void; } interface CreateOpts { readonly id: string; readonly threshold?: number; readonly logger?: TracerLogger; } export function create(opts: CreateOpts): TracerFunction; export {}; }