type CatchError = (err: any) => void; export declare function fromPromise(value: T | Promise): Promise; export declare function rethrow(promise: Promise, catchError?: CatchError): Promise; export declare function silence(promise: Promise, catchError?: CatchError): Promise; export declare function unawaited(promise: Promise, catchError?: CatchError): Promise>; export {};