import { type TaskBuilder } from "./Task.js"; /** Returns a timestamp with nano-second precision */ export declare function highResTimestamp(): number; /** Does nothing. Can be used for empty `.catch(...)` calls. */ export declare function noop(): void; export type FnOrStatic = ((...args: TArgs) => TReturn) | TReturn; export type ReturnTypeOrStatic = T extends (...args: any[]) => infer R ? R : T; export declare function evalOrStatic(fnOrConst: T, ...args: any[]): ReturnTypeOrStatic; export type WaitForReturnType = T extends Promise ? U : T extends TaskBuilder ? U : never; export declare function waitFor | TaskBuilder>(thing: T): AsyncGenerator<() => T, WaitForReturnType>; //# sourceMappingURL=utils.d.ts.map