declare class TimeoutError extends Error {
    constructor(message: string);
}
export declare class TimerUtil {
    static TimeoutError: typeof TimeoutError;
    static sleep(ms: number): Promise<void>;
    static timeout<T>(fn: () => Promise<T>, ms?: number): Promise<T>;
}
export {};
