/** Create timer */ export function timer(name: string): { wrap(fn: () => T): T stop(): void }