export declare type StopwatchElapsedData = T extends bigint ? { ns: bigint; us: bigint; ms: bigint; s: bigint; } : { ns: number; us: number; ms: number; s: number; }; declare class Stampwatch { protected start: bigint; protected end?: bigint; protected bigint: boolean; get elapsed(): StopwatchElapsedData; constructor(stamp: bigint, bigint: boolean); } export declare class Stopwatch { private readonly start; private end?; private bigint; private stamps; get elapsed(): StopwatchElapsedData; /** * * @param bigint Return values as a bigint */ constructor(bigint?: boolean); stop(): this; stamp(): this; getStamp(num: number, required?: Y): Y extends true ? Stampwatch : Stampwatch | null; static time(func: Awaited): Promise<{ ns: bigint; us: bigint; ms: bigint; s: bigint; }>; } export {}; //# sourceMappingURL=stopwatch.d.ts.map