interface TryWithTimeoutOptions { timeout?: number; timeoutMessage?: string; } export declare class TimeoutError extends Error { } export declare function tryWithTimeout(promise: Promise, options: TryWithTimeoutOptions): Promise; export {};