export declare function timeoutAfter(ms: number, promise: Promise): Promise<{ timeout: boolean; value: T; }>;