interface Timer { start(label: string): void; end(label: string): { nanoseconds: bigint; milliseconds: number; }; } /** * 最高精度的计时方法,返回纳秒级精度的bigint */ declare const timer: Timer; export default timer;