export declare namespace Timeout { /** Runs the given callback and throws if it does not complete within the given millisecond window */ function run(callback: () => Promise | T, milliseconds: number, error?: Error): Promise; }