import type { FlattenReturn } from './types'; export declare function tryPromise(promise: PromiseLike): PromiseLike>;